# Actor Viewer tool: added controls to toggle shadows, ground and polygon counts.

Elsewhere:
Disabled stack-trace test because it gives me assertion failures.
Fixed some uses of snprintf (which doesn't always add a \0 to the end of
the string), then got bored so there are still lots of broken ones.
Probably should replace snprintf with something more like snprintf_s
(but non-fatal) or something.
Made CLogger output valid HTML (except for the potentially dodgy
doctype). Removed its memory-logger, since we never use it and MICROLOG
can be used instead for quick execution-tracing.
Added tests to make sure CLogger handles long strings properly (which it
didn't). Made CLogger not a singleton, so it can be tested sensibly.

This was SVN commit r4424.
This commit is contained in:
Ykkrosh
2006-09-28 20:41:12 +00:00
parent 06743babb5
commit 2fac02f40a
20 changed files with 337 additions and 163 deletions
+1
View File
@@ -1022,6 +1022,7 @@ void CGUI::ReportParseError(const char *str, ...)
va_start(argp, str);
vsnprintf2(buffer, sizeof(buffer), str, argp);
buffer[sizeof(buffer)-1] = '\0';
va_end(argp);
// Print header