r4132 - packages/trunk/tumiki-fighters/debian/patches
Miriam Ruiz
baby-guest at alioth.debian.org
Sat Sep 8 18:28:16 UTC 2007
Author: baby-guest
Date: 2007-09-08 18:28:15 +0000 (Sat, 08 Sep 2007)
New Revision: 4132
Modified:
packages/trunk/tumiki-fighters/debian/patches/directories.patch
Log:
Fixed patch (I hope)
Modified: packages/trunk/tumiki-fighters/debian/patches/directories.patch
===================================================================
--- packages/trunk/tumiki-fighters/debian/patches/directories.patch 2007-09-08 17:51:35 UTC (rev 4131)
+++ packages/trunk/tumiki-fighters/debian/patches/directories.patch 2007-09-08 18:28:15 UTC (rev 4132)
@@ -128,12 +128,12 @@
- int shape;
- if(shapeStr.length !is 0) shape = shapeStr[v];
+ int shape;
-+ try { shape = shapeStr[v]; } catch (Exception e) {}
++ try { if ((v in shapeStr) != null) shape = shapeStr[v]; } catch (Exception e) {}
v = si.next;
- int color;
- if(colorStr.length !is 0) color = colorStr[v];
+ int color;
-+ try { color = colorStr[v]; } catch (Exception e) {}
++ try { if ((v in colorStr) != null) color = colorStr[v]; } catch (Exception e) {}
float x = atof(si.next);
float y = atof(si.next);
float sizex = atof(si.next);
@@ -144,12 +144,12 @@
- int shape2;
- if(bulletShapeStr.length !is 0) shape2 = bulletShapeStr[v];
+ int shape;
-+ try { shape = bulletShapeStr[v]; } catch (Exception e) {}
++ try { if ((v in bulletShapeStr) != null) shape = bulletShapeStr[v]; } catch (Exception e) {}
v = si.next;
- int color2;
- if(bulletColorStr.length !is 0) color2 = bulletColorStr[v];
+ int color;
-+ try { color = bulletColorStr[v]; } catch (Exception e) {}
++ try { if ((v in bulletColorStr) != null) color = bulletColorStr[v]; } catch (Exception e) {}
float size = atof(si.next);
float yReverse = atof(si.next);
int prevWait = atoi(si.next);
More information about the Pkg-games-commits
mailing list