Add string control code to consume an argument.

This commit is contained in:
Jonathan G Rennison
2017-03-29 21:15:11 +01:00
parent 7194e19380
commit 688ee9ac11
3 changed files with 8 additions and 0 deletions

View File

@@ -1682,6 +1682,10 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
break;
}
case SCC_CONSUME_ARG:
// do nothing
break;
default:
if (buff + Utf8CharLen(b) < last) buff += Utf8Encode(buff, b);
break;