Fix ~/.icons/default/index.theme saving file - it wasn't correct keyfile.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 16 Dec 2013 00:30:17 +0000 (02:30 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 16 Dec 2013 00:30:17 +0000 (02:30 +0200)
The NewLine char is missing after the first comment line.

src/lxappearance.c

index 050845a..a64045a 100644 (file)
@@ -122,7 +122,7 @@ static void save_cursor_theme_name()
     {
         char* index_theme = g_build_filename(dir_path, "index.theme", NULL);
         char* content = g_strdup_printf(
-            "# This file is written by LXAppearance. Do not edit."
+            "# This file is written by LXAppearance. Do not edit.\n"
             "[Icon Theme]\n"
             "Name=Default\n"
             "Comment=Default Cursor Theme\n"