Remove char_u: Review

Helped-by: Scott Prager <splinterofchaos@gmail.com>
This commit is contained in:
Michael Reed
2015-05-13 15:29:50 -04:00
parent 62bcd98ae3
commit af3381b319
2 changed files with 6 additions and 6 deletions

View File

@@ -702,8 +702,7 @@ static void report_pending(int action, int pending, void *value)
if (pending & CSTP_THROW) {
vim_snprintf((char *)IObuff, IOSIZE,
mesg, _("Exception"));
mesg = (char *)vim_strnsave(IObuff, STRLEN(IObuff) + 4);
strcat(mesg, ": %s");
mesg = (char *)concat_str(IObuff, (char_u *)": %s");
s = (char *)((except_T *)value)->value;
} else if ((pending & CSTP_ERROR) && (pending & CSTP_INTERRUPT))
s = _("Error and interrupt");