*aAhem*.. Restored accidentally committed locally modified files
authorKrabbyKrap <KrabbyKrap@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sun, 16 Mar 2008 04:31:59 +0000 (04:31 +0000)
committerKrabbyKrap <KrabbyKrap@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sun, 16 Mar 2008 04:31:59 +0000 (04:31 +0000)
git-svn-id: https://s.snth.net/svn/neverball/trunk@1899 78b8d119-cf0a-0410-b17c-f493084dd1d7

share/config.c
share/image.c
share/mapc.c

index d0805bb..2615c25 100644 (file)
@@ -247,8 +247,7 @@ void config_load(void)
                     config_key(val, CONFIG_KEY_RESTART, DEFAULT_KEY_RESTART);
 
                 else if (strcmp(key, "key_score_next") == 0)
-                    config_key(val, CONFIG_KEY_SCORE_NEXT,
-                               DEFAULT_KEY_SCORE_NEXT);
+                    config_key(val, CONFIG_KEY_SCORE_NEXT, DEFAULT_KEY_SCORE_NEXT);
 
                 else if (strcmp(key, "player") == 0)
                     config_set_s(CONFIG_PLAYER, val);
index a358782..c5d574f 100644 (file)
@@ -69,8 +69,7 @@ void image_snap(const char *filename)
 
             /* Allocate and initialize the row pointers. */
 
-            if ((bytep = (png_bytep *) png_malloc(writep,
-                                                  h * sizeof (png_bytep))))
+            if ((bytep = (png_bytep *) png_malloc(writep, h * sizeof (png_bytep))))
             {
                 for (i = 0; i < h; ++i)
                     bytep[h - i - 1] = (png_bytep) (p + i * w * 3);
index acc6049..9fbdeb9 100644 (file)
@@ -359,8 +359,7 @@ static void size_image(const char *name, int *w, int *h)
 
         if (image_n + 1 >= image_alloc)
         {
-            struct _imagedata *tmp =
-                (struct _imagedata *) malloc(sizeof(struct _imagedata)
+            struct _imagedata *tmp = (struct _imagedata *) malloc(sizeof(struct _imagedata)
                                           * (image_alloc + IMAGE_REALLOC));
             if (!tmp)
             {