logo       
Google Custom Search
    AddThis Social Bookmark Button

hohensoh: apps settings.c,1.203,1.204: msg#00070

Subject: hohensoh: apps settings.c,1.203,1.204
Update of /cvsroot/rockbox/apps
In directory labb.contactor.se:/var/tmp/cvs-serv6572/apps

Modified Files:
        settings.c 
Log Message:
oops, forgot to take out my test hack, some comments improved

Index: settings.c
===================================================================
RCS file: /cvsroot/rockbox/apps/settings.c,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -b -r1.203 -r1.204
--- settings.c  18 Jun 2004 20:41:59 -0000      1.203
+++ settings.c  19 Jun 2004 09:39:25 -0000      1.204
@@ -93,7 +93,7 @@
     /* how many bits within the bitfield (1-32), MSB set if value is signed */
     unsigned char bit_size; /* min 6+1 bit */
     /* how many bytes in the global_settings struct (1,2,4) */
-    unsigned char byte_size; /* min 2 bits */
+    unsigned char byte_size; /* min 3 bits */
     /* store position in global_settings struct */
     short settings_offset; /* min 9 bit, better 10 */
     /* default value */
@@ -1227,9 +1227,6 @@
     /* allow user to modify filename */
     while (!done) {
         if (!kbd_input(filename, sizeof filename)) {
-#ifdef WIN32 /* test hack !!! */
-            strcpy(filename, "C:/test.cfg");
-#endif
             fd = creat(filename,0);
             if (fd < 0) {
                 lcd_clear_display();

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>