From a8535d49a95cdedbbd0450b189ed3765ddecb4c5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 23 Apr 2007 02:43:56 +0000 Subject: [PATCH] only show debug messages if you enable it on command line and remove extra newline --- openbox/openbox.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/openbox/openbox.c b/openbox/openbox.c index 4ad1c70a..61c54da0 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -99,15 +99,11 @@ static Cursor load_cursor(const gchar *name, guint fontval); gint main(gint argc, gchar **argv) { -#ifdef DEBUG - ob_debug_show_output(TRUE); -#endif - state = OB_STATE_STARTING; /* initialize the locale */ if (!setlocale(LC_ALL, "")) - g_warning("Couldn't set locale from environment.\n"); + g_warning("Couldn't set locale from environment."); bindtextdomain(PACKAGE_NAME, LOCALEDIR); bind_textdomain_codeset(PACKAGE_NAME, "UTF-8"); textdomain(PACKAGE_NAME); -- 2.45.2