Author: lisu                         Date: Fri Sep 18 14:52:02 2009 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- fix syntax

---- Files affected:
packages/widelands:
   widelands-syntax.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: packages/widelands/widelands-syntax.patch
diff -u /dev/null packages/widelands/widelands-syntax.patch:1.1.2.1
--- /dev/null   Fri Sep 18 16:52:02 2009
+++ packages/widelands/widelands-syntax.patch   Fri Sep 18 16:51:57 2009
@@ -0,0 +1,29 @@
+--- widelands/src/graphic/graphic.cc~  2009-08-21 22:25:48.000000000 +0200
++++ widelands/src/graphic/graphic.cc   2009-09-18 15:33:14.000000000 +0200
+@@ -690,14 +690,19 @@
+       //delete pic->surface;
+       //pic.surface = 0;
+       //pic.module = 0;
++      
++struct S {
++      Picturemap::      iterator       current;
++      Picturemap::const_iterator const end;
++};
++
++S it = {
++      m_picturemap[picid->module].begin(),
++      m_picturemap[picid->module].end  ()
++};
++
+       for
+-              (struct {
+-                      Picturemap::      iterator       current;
+-                      Picturemap::const_iterator const end;
+-               } it = {
+-                      m_picturemap[picid->module].begin(),
+-                      m_picturemap[picid->module].end  ()
+-               };
++              (;
+                it.current != it.end;
+                ++it.current)
+               if (it.current->second == picid) {
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to