RENAMED: Variable names for consistency, textLength (length in bytes) vs textSize (measure in pixels)
This commit is contained in:
parent
2853b28d6d
commit
b465b4e2ea
6 changed files with 36 additions and 36 deletions
|
|
@ -142,8 +142,8 @@ void TraceLog(int logType, const char *text, ...)
|
|||
default: break;
|
||||
}
|
||||
|
||||
unsigned int textSize = (unsigned int)strlen(text);
|
||||
memcpy(buffer + strlen(buffer), text, (textSize < (MAX_TRACELOG_MSG_LENGTH - 12))? textSize : (MAX_TRACELOG_MSG_LENGTH - 12));
|
||||
unsigned int textLength = (unsigned int)strlen(text);
|
||||
memcpy(buffer + strlen(buffer), text, (textLength < (MAX_TRACELOG_MSG_LENGTH - 12))? textLength : (MAX_TRACELOG_MSG_LENGTH - 12));
|
||||
strcat(buffer, "\n");
|
||||
vprintf(buffer, args);
|
||||
fflush(stdout);
|
||||
|
|
|
|||
Loading…
Reference in a new issue