home · contact · privacy
Corrected indentation / line lengths.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 6 Aug 2013 04:16:37 +0000 (06:16 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 6 Aug 2013 04:16:37 +0000 (06:16 +0200)
src/main.c
src/map_objects.h

index c48d57b4c8a2cca865fecbb06840240d3073d190..8c1ac5667dde5a1b33da92a8425888c4bbf36c72 100644 (file)
@@ -123,9 +123,12 @@ int main(int argc, char *argv[])
     raw();
     init_keybindings(&world);
     struct WinMeta win_meta = init_win_meta(screen);
-    struct Win win_keys = init_win(&win_meta, "Keys", 0, 29, &world, draw_keys_win);
-    struct Win win_info = init_win(&win_meta, "Info", 2, 20, &world, draw_info_win);
-    uint16_t height_logwin  = win_meta.padframe.size.y - (2 + win_info.frame.size.y);
+    struct Win win_keys = init_win(&win_meta, "Keys",
+                                   0, 29, &world, draw_keys_win);
+    struct Win win_info = init_win(&win_meta, "Info",
+                                   2, 20, &world, draw_info_win);
+    uint16_t height_logwin = win_meta.padframe.size.y
+                             - (2 + win_info.frame.size.y);
     struct Win win_log = init_win(&win_meta, "Log",
                                   height_logwin, 20, &world, draw_log_win);
     uint16_t width_mapwin = win_meta.padframe.size.x - win_keys.frame.size.x
index 9eb055c156ebd3d94090460d1ad8d228216ecdee..a5156f47d2a98b3cde51d1a40204ff6f54378baf 100644 (file)
@@ -81,7 +81,7 @@ extern void init_map_object_defs(struct World * world, char * filename);
  * "def_id".
  */
 extern void * build_map_objects(struct World * world, void * start, char def_id,
-                                 unsigned char n);
+                                unsigned char n);