GUI: Silence GCC warning

Rename local variable 'buffer' to keep it from clashing with the
buffer() method.
This commit is contained in:
Torbjörn Andersson 2011-09-19 20:10:46 +02:00
parent 6b8fb196cb
commit 642e0baacb

View File

@ -665,11 +665,11 @@ int ConsoleDialog::printFormat(int dummy, const char *format, ...) {
}
int ConsoleDialog::vprintFormat(int dummy, const char *format, va_list argptr) {
Common::String buffer = Common::String::vformat(format, argptr);
Common::String buf = Common::String::vformat(format, argptr);
print(buffer.c_str());
print(buf.c_str());
return buffer.size();
return buf.size();
}
void ConsoleDialog::printChar(int c) {