mirror of
https://bitbucket.org/seefoe/src.git
synced 2026-07-31 01:15:45 -04:00
this is probably the last of the fixes for the night
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user