X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fdebug.c;h=102c88916743f576c5825598d261dc120bc704b5;hb=0ed1b678d18b07cfb5def76e0e5f7f14bc12e95c;hp=45ee97a8506304361ef701b604e6ca1bc2ba0e88;hpb=c4e4760c41f10aae6af19a4363cb247c71edee4b;p=chaz%2Fopenbox diff --git a/openbox/debug.c b/openbox/debug.c index 45ee97a8..102c8891 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(const gchar *a, ...) { va_list vl; if (show) { va_start(vl, a); vfprintf(stderr, a, vl); + va_end(vl); } }