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
1 changed files with 3 additions and 3 deletions
|
@ -665,11 +665,11 @@ int ConsoleDialog::printFormat(int dummy, const char *format, ...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int ConsoleDialog::vprintFormat(int dummy, const char *format, va_list argptr) {
|
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) {
|
void ConsoleDialog::printChar(int c) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue