mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
GUI: Silence GCC warning
Rename local variable 'buffer' to keep it from clashing with the buffer() method.
This commit is contained in:
parent
6b8fb196cb
commit
642e0baacb
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user