Author: baby-guest
Date: 2007-07-12 18:40:25 +0000 (Thu, 12 Jul 2007)
New Revision: 3383

Modified:
   packages/trunk/hex-a-hop/debian/patches/proper_directories.patch
Log:
Improve the patch a bit (making it cuter)



Modified: packages/trunk/hex-a-hop/debian/patches/proper_directories.patch
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/proper_directories.patch    
2007-07-12 18:18:48 UTC (rev 3382)
+++ packages/trunk/hex-a-hop/debian/patches/proper_directories.patch    
2007-07-12 18:40:25 UTC (rev 3383)
@@ -26,7 +26,7 @@
  void RenderTile(bool reflect, int t, int x, int y, int cliplift=-1);
  
  int keyState[SDLK_LAST] = {0};
-@@ -76,11 +87,35 @@
+@@ -76,11 +87,39 @@
  //    printf("file_open( \"%s\", \"%s\" )\n", file, flags );
        extern String base_path;
        static String filename; // static to reduce memory alloc/free calls.
@@ -57,10 +57,14 @@
  //    printf("   -> \"%s\"\n", filename );
 -      
 +
-+      printf("%s%s file \"%s\" (\"%s\")\n",
++      printf("%s%s file \"%s\"",
 +              strchr(flags, 'r') ? "Reading" : "Writing",
 +              strchr(flags, 'b') ? " binary" : "",
-+              (const char *)file, (const char *)filename );
++              (const char *)file );
++      if (strcmp((const char *)file,(const char *)filename) == 0)
++              printf("\n");
++      else
++              printf(" (\"%s\")\n", (const char *)filename);
 +
        filename.fix_backslashes();
        FILE* f = fopen( filename, flags );


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to