Update of /cvsroot/gtkpod/gtkpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv918/src

Modified Files:
        prefs.c 
Log Message:

Miscellaneous formatting fixes. I've now switched to using emacs,
so I hope this won't be a problem anymore :)


Index: prefs.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/prefs.c,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -d -r1.212 -r1.213
--- prefs.c     9 Jun 2006 02:19:46 -0000       1.212
+++ prefs.c     10 Jun 2006 01:52:33 -0000      1.213
@@ -153,21 +153,21 @@
     /* Set sorting tab defaults */
     for (i = 0; i < SORT_TAB_MAX; i++)
     {
-      prefs_set_int_index("st_autoselect", i, TRUE);
-      prefs_set_int_index("st_category", i, (i < ST_CAT_NUM ? i : 0));
-      prefs_set_int_index("sp_or", i, FALSE);
-      prefs_set_int_index("sp_rating_cond", i, FALSE);
-      prefs_set_int_index("sp_playcount_cond", i, FALSE);
-      prefs_set_int_index("sp_played_cond", i, FALSE);
-      prefs_set_int_index("sp_modified_cond", i, FALSE);
-      prefs_set_int_index("sp_added_cond", i, FALSE);
[...1821 lines suppressed...]
-       while (*string_iter)
-       {
-               if (strlen(*string_iter) != 0)
-                       list = g_list_append(list, g_strdup(*string_iter));
+    /* Go through each string and put it in the list */
+    while (*string_iter)
+    {
+       if (strlen(*string_iter) != 0)
+           list = g_list_append(list, g_strdup(*string_iter));
                
-               string_iter++;
-       }
+       string_iter++;
+    }
        
-       return list;
+    return list;
 }
 
 /* config struct */



_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to