Fixed error messages
This commit is contained in:
parent
185fc42ac7
commit
68fdb85215
|
@ -707,9 +707,9 @@ fmt_error(const char *s, const char *t)
|
||||||
if (str == 0)
|
if (str == 0)
|
||||||
str = new_stream(100);
|
str = new_stream(100);
|
||||||
if (t)
|
if (t)
|
||||||
stream_printf(str, "Line %d: %s%s", lineno, s, t);
|
stream_printf(str, "%s%s", s, t);
|
||||||
else
|
else
|
||||||
stream_printf(str, "Line %d: %s", lineno, s);
|
stream_printf(str, "%s", s);
|
||||||
return reset_stream(str);
|
return reset_stream(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue