projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c9b117
)
User round number for buffer size.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 16 Feb 2010 16:06:06 +0000
(16:06 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 12 Nov 2010 18:47:59 +0000
(18:47 +0000)
log.cpp
patch
|
blob
|
history
diff --git
a/log.cpp
b/log.cpp
index
a42cee9
..
8064c4b
100644
(file)
--- a/
log.cpp
+++ b/
log.cpp
@@
-238,7
+238,7
@@
static void TextChar(char c) {
}
void TextF(const char *format, ...) {
- char szBuffer[4
1
96];
+ char szBuffer[4
0
96];
va_list ap;
va_start(ap, format);
vsnprintf(szBuffer, sizeof(szBuffer), format, ap);