tags 703133 + patch
stop
Here is a patch to fix this bug.
--- a/src/log.c
+++ b/src/log.c
@@ -63,7 +63,7 @@ void log_func(const gchar *file, gint line, LOG_LEVEL level,
const gchar *messag
strcat(format, message);
- va_start(ap, format);
+ va_start(ap, message);
g_vprintf(format, ap);
g_printf("\n");
//g_logv(G_LOG_DOMAIN, level, format, ap);
@@ -73,7 +73,7 @@ void log_func(const gchar *file, gint line, LOG_LEVEL level,
const gchar *messag
// Show dialog box.
if(level <= LOG_MESSAGE){
- va_start(ap, format);
+ va_start(ap, message);
vsprintf(str, message, ap);
va_end(ap);
--
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]