X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fdebug.c;h=4152c15ee0f973bc18fb0f34db7a366c244baa32;hb=baa4a878cda78cf7ef9a894b8937c72fa50c897a;hp=45ee97a8506304361ef701b604e6ca1bc2ba0e88;hpb=c4e4760c41f10aae6af19a4363cb247c71edee4b;p=chaz%2Fopenbox diff --git a/openbox/debug.c b/openbox/debug.c index 45ee97a8..4152c15e 100644 --- a/openbox/debug.c +++ b/openbox/debug.c @@ -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); } }