{
gint mbl;
const wchar_t *wp;
- gchar tmp[MB_CUR_MAX];
+ gchar tmp[MB_LEN_MAX];
/* skip head space */
for (wp = s; *wp != (wchar_t)0 && iswspace(*wp); wp++)
log_verbosity_count--;
}
-void debug_print_real(const gchar *file, const guint line, const gchar *format, ...)
+void debug_print_real(const gchar *format, ...)
{
va_list args;
gchar buf[BUFFSIZE];
if (!debug_mode) return;
- printf("%s:%d:", file, line);
-
va_start(args, format);
g_vsnprintf(buf, sizeof(buf), format, args);
va_end(args);