--- rxvt-unicode/src/init.C 2007/11/26 10:33:36 1.223 +++ rxvt-unicode/src/init.C 2007/12/18 12:04:50 1.231 @@ -12,9 +12,7 @@ * Copyright (c) 1997,1998 Oezguer Kesim * Copyright (c) 1998-2001 Geoff Wing * - extensive modifications - * Copyright (c) 1999 D J Hawkey Jr - * - QNX support - * Copyright (c) 2003-2006 Marc Lehmann + * Copyright (c) 2003-2007 Marc Lehmann * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -43,6 +41,8 @@ #include +#include + #ifdef HAVE_XSETLOCALE # define X_LOCALE # include @@ -280,7 +280,7 @@ #endif }; -bool +void rxvt_term::init_vars () { pix_colors = // @@ -289,7 +289,6 @@ pix_colors_unfocused = new rxvt_color [TOTAL_COLORS]; #endif - MEvent.time = CurrentTime; MEvent.button = AnyButton; want_refresh = 1; @@ -300,7 +299,6 @@ ext_bwidth = EXTERNALBORDERWIDTH; lineSpace = LINESPACE; saveLines = SAVELINES; - numpix_colors = TOTAL_COLORS; refresh_type = SLOW_REFRESH; @@ -316,8 +314,6 @@ set_option (Opt_pastableTabs); set_option (Opt_intensityStyles); set_option (Opt_iso14755_52); - - return true; } void @@ -1228,7 +1224,6 @@ * Debugging */ #ifdef DEBUG_TTYMODE -#ifdef HAVE_TERMIOS_H /* c_iflag bits */ fprintf (stderr, "Input flags\n"); @@ -1301,7 +1296,6 @@ fprintf (stderr, "\n"); # undef FOO -# endif /* HAVE_TERMIOS_H */ #endif /* DEBUG_TTYMODE */ } @@ -1415,7 +1409,8 @@ char *login; if (option (Opt_console)) - { /* be virtual console, fail silently */ + { + /* be virtual console, fail silently */ #ifdef TIOCCONS unsigned int on = 1;