diff src/debug.c @ 1305:2abdd6e50120

Glibification.
author zas_
date Sat, 21 Feb 2009 18:04:52 +0000
parents 8b89e3ff286b
children 956aab097ea7
line wrap: on
line diff
--- a/src/debug.c	Sat Feb 21 10:53:18 2009 +0000
+++ b/src/debug.c	Sat Feb 21 18:04:52 2009 +0000
@@ -15,6 +15,9 @@
 #include "logwindow.h"
 #include "ui_fileops.h"
 
+#include <glib/gprintf.h>
+
+
 /*
  * Logging functions
  */
@@ -26,7 +29,7 @@
 	gint ret;
 
 	va_start(ap, format);
-	ret = vsnprintf(buf, sizeof(buf), format, ap);
+	ret = g_vsnprintf(buf, sizeof(buf), format, ap);
 	va_end(ap);
 
 	print_term(buf);