Linux fixes for switch to UTF-8 strings.

This commit is contained in:
baldurk
2014-12-01 21:40:43 +00:00
parent 976e89787b
commit 15e9b58317
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ void library_loaded()
{
RenderDoc::Inst().Initialise();
RDCLOG("Loading into %S", curfile.c_str());
RDCLOG("Loading into %s", curfile.c_str());
LibraryHooks::GetInstance().CreateHooks();
}
+1 -2
View File
@@ -216,10 +216,9 @@ namespace StringFormat
int size = StringFormat::vsnprintf(NULL, 0, format, args2);
char *buf = new char[size+1];
StringFormat::vsnprintf(buf, size+1, format, args);
buf[size] = 0;
StringFormat::vsnprintf(buf, size, format, args);
va_end(args);
va_end(args2);