mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-03 17:02:41 +00:00
Fix linux build and a crash. hrm, how did it work before...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@146 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f46c64c02f
commit
ac366022f4
8 changed files with 16 additions and 9 deletions
|
@ -162,7 +162,7 @@ void StringFromFormatV(std::string* out, const char* format, va_list args)
|
|||
|
||||
while (writtenCount < 0)
|
||||
{
|
||||
delete[] buf;
|
||||
delete [] buf;
|
||||
buf = new char[newSize + 1];
|
||||
writtenCount = vsnprintf(buf, newSize, format, args);
|
||||
newSize *= 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue