Skip to content

Commit 5b1cfa9

Browse files
committedMar 8, 2017
Fixed LogDebugTrace printing :: twice
1 parent e466698 commit 5b1cfa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎log.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ void LogDebugTrace(const char* function, const char *format, ...)
282282
string name = sfunc.substr(colpos+2, namelen);
283283

284284
//Get the class name
285-
size_t clen = colpos - coff + 1;
285+
size_t clen = colpos - coff - 1;
286286
string cls = sfunc.substr(coff + 1, clen);
287287

288288
//Format final result

0 commit comments

Comments
 (0)