]> Dogcows Code - chaz/openbox/commitdiff
only show debug messages if you enable it on command line and remove extra newline
authorDana Jansens <danakj@orodu.net>
Mon, 23 Apr 2007 02:43:56 +0000 (02:43 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 23 Apr 2007 02:43:56 +0000 (02:43 +0000)
openbox/openbox.c

index 4ad1c70aeff30e758cd25f89d04ab880d3642f6a..61c54da04660e6b2a54204b6573ab03f5f4cfbea 100644 (file)
@@ -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);
This page took 0.025246 seconds and 4 git commands to generate.