]> Dogcows Code - chaz/openbox/blobdiff - openbox/debug.c
make the combined client list menu not suck quite as bad
[chaz/openbox] / openbox / debug.c
index 45ee97a8506304361ef701b604e6ca1bc2ba0e88..4152c15ee0f973bc18fb0f34db7a366c244baa32 100644 (file)
@@ -1,4 +1,4 @@
-/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
 
    debug.c for the Openbox window manager
    Copyright (c) 2003        Ben Jansens
@@ -28,12 +28,13 @@ void ob_debug_show_output(gboolean enable)
     show = enable;
 }
 
-void ob_debug(char *a, ...)
+void ob_debug(gchar *a, ...)
 {
     va_list vl;
 
     if (show) {
         va_start(vl, a);
         vfprintf(stderr, a, vl);
+        va_end(vl);
     }
 }
This page took 0.020722 seconds and 4 git commands to generate.