SOURCES: toycars-case_brackets.patch (NEW) - brackets are necessary when de...

lisu lisu at pld-linux.org
Mon Mar 23 13:38:02 CET 2009


Author: lisu                         Date: Mon Mar 23 12:38:02 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- brackets are necessary when declare variables within a case label

---- Files affected:
SOURCES:
   toycars-case_brackets.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/toycars-case_brackets.patch
diff -u /dev/null SOURCES/toycars-case_brackets.patch:1.1
--- /dev/null	Mon Mar 23 13:38:02 2009
+++ SOURCES/toycars-case_brackets.patch	Mon Mar 23 13:37:56 2009
@@ -0,0 +1,19 @@
+--- toycars-0.3.9/toycars_track_editor-0.1.2/src/TrackView.cxx~	2009-03-23 13:22:19.000000000 +0100
++++ toycars-0.3.9/toycars_track_editor-0.1.2/src/TrackView.cxx	2009-03-23 13:24:20.000000000 +0100
+@@ -663,7 +663,7 @@
+       case FL_ENTER:
+       case FL_LEAVE:
+          return 1;
+-      case FL_MOVE:
++      case FL_MOVE: {
+          bool oldHoverPathIntermediateVertexExists = hoverPathIntermediateVertexExists;
+          bool oldHoverPathVertexExists = hoverPathVertexExists;
+          hoverPathIntermediateVertexExists = false;
+@@ -726,6 +726,7 @@
+                redraw();
+          }
+          return 1;
++      }
+       case FL_DRAG:
+       case FL_PUSH: {
+          int b = Fl::event_button();
================================================================


More information about the pld-cvs-commit mailing list