diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-08-07 19:20:51 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-08-07 19:20:51 +0000 |
| commit | ac366022f40382d39fcaaff6d66f038886c76414 (patch) | |
| tree | 09aa65a0bf9f664684b6ed5b343ed54626c39bd4 /Source/Core/Common/Src/StringUtil.cpp | |
| parent | f46c64c02f4ae500ed06fd86a24f623536c676ef (diff) | |
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
Diffstat (limited to 'Source/Core/Common/Src/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/StringUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp index 882a811077..03bdff88d5 100644 --- a/Source/Core/Common/Src/StringUtil.cpp +++ b/Source/Core/Common/Src/StringUtil.cpp @@ -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;
|
