mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
format_read_arglist() now prints the format name also when complaining about
parameters. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2747 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8009aae044
commit
55c2554dba
@ -228,7 +228,7 @@ void format_read_arglist(va_list va, FORMAT_REC *format,
|
||||
case FORMAT_STRING:
|
||||
arglist[num] = (char *) va_arg(va, char *);
|
||||
if (arglist[num] == NULL) {
|
||||
g_warning("format_read_arglist() : parameter %d is NULL", num);
|
||||
g_warning("format_read_arglist(%s) : parameter %d is NULL", format->tag, num);
|
||||
arglist[num] = "";
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user