home · contact · privacy
Client: Renamed some world members, commented world struct.
[plomrogue] / src / client / main.c
index 3e3bbdd28f7c6b6a83a2ac801d26caa2967eac92..3abb44a13ad889e67253e38e9b24590cbf4713a4 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <ncurses.h> /* keypad() */
 #include <signal.h> /* struct sigaction, sigaction() */
+#include <stddef.h> /* NULL */
 #include <stdlib.h> /* exit() */
 #include <string.h> /* memset() */
 #include "../common/rexit.h" /* set_cleanup_func(), exit_trouble() */
@@ -33,11 +34,11 @@ int main(int argc, char * argv[])
     set_cleanup_func(cleanup);
 
     /* Initialize the whole interface. */
-    world.windb.t_screen = initscr();
+    world.winDB.t_screen = initscr();
     set_cleanup_flag(CLEANUP_NCURSES);
     noecho();
     curs_set(0);
-    keypad(world.windb.t_screen, TRUE);
+    keypad(world.winDB.t_screen, TRUE);
     init_command_db();      /* The command DB needs to be initialized before  */
     load_interface_conf();  /* the interface, whose keybindings depend on it. */