Author: spitzak
Date: 2007-06-05 17:45:45 -0400 (Tue, 05 Jun 2007)
New Revision: 5877
Log:
Indentation fixes


Modified:
   trunk/src/Cursor.cxx
   trunk/src/Menu.cxx

Modified: trunk/src/Cursor.cxx
===================================================================
--- trunk/src/Cursor.cxx        2007-06-05 21:35:43 UTC (rev 5876)
+++ trunk/src/Cursor.cxx        2007-06-05 21:45:45 UTC (rev 5877)
@@ -407,9 +407,9 @@
   if(raw) {
      // This overwrites the data, mask, and hotspot:
      memcpy(c->data, raw, sizeof(::Cursor));
-  } else
+  } else {
      memset(c->data, 0, sizeof(::Cursor));
-       
+  }
   return c;
 }
 

Modified: trunk/src/Menu.cxx
===================================================================
--- trunk/src/Menu.cxx  2007-06-05 21:35:43 UTC (rev 5876)
+++ trunk/src/Menu.cxx  2007-06-05 21:45:45 UTC (rev 5877)
@@ -460,23 +460,23 @@
   for (int i = 0; i < children; i++) {
     Widget* item = child(i);
     if (!item->active()) continue;
-      if (item->test_shortcut(false)) {
-        value(i);
-        if (checkmark(item))
-          item->invert_flag(STATE);
+    if (item->test_shortcut(false)) {
+      value(i);
+      if (checkmark(item))
+        item->invert_flag(STATE);
 
-        execute(item);
-        return 1;
+      execute(item);
+      return 1;
     }
     if (item->is_group()) {
       item = shortcut_search((Group*)item);
       if (item) {
-          value(i);
-       if (checkmark(item))
+       value(i);
+        if (checkmark(item))
           item->invert_flag(STATE);
 
-          execute(item);
-          return 1;
+        execute(item);
+        return 1;
       }
     }
   }

_______________________________________________
fltk-commit mailing list
fltk-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to