this is probably the last of the fixes for the night

This commit is contained in:
DarthArgus
2015-10-14 01:28:37 -05:00
parent b61c932498
commit 338e4e68b5
4 changed files with 7 additions and 6 deletions
@@ -404,8 +404,9 @@ static bool dwarfSearch(char const *dwarfLines, unsigned int linesLength, void c
char const *srcFile = bestUnderSrcFileTable+1;
for (int i = 0; i < bestUnderSrcFileNum; ++i)
{
while (*srcFile++);
while (*srcFile++) {
srcFile += 3;
}
}
retSrcFile = SymbolCache::uniqueString(srcFile);
retSrcLine = bestUnderSrcLine;
@@ -461,7 +461,7 @@ void PixCounter::String::set(const char * format, ...)
char buffer[512];
vsnprintf(buffer, sizeof(buffer), format, va);
buffer[sizeof(buffer-1)] = '\0';
buffer[sizeof(buffer)-1] = '\0';
operator =(buffer);
va_end(va);