mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r17778) -Fix: remove unneeded newline from 'TOC' debug lines.
This commit is contained in:
parent
fb271b8b15
commit
b1561fcb52
@ -84,7 +84,7 @@ const char *GetDebugString();
|
|||||||
#define TOC(str, count)\
|
#define TOC(str, count)\
|
||||||
__sum__ += ottd_rdtsc() - _xxx_;\
|
__sum__ += ottd_rdtsc() - _xxx_;\
|
||||||
if (++__i__ == count) {\
|
if (++__i__ == count) {\
|
||||||
DEBUG(misc, 0, "[%s] " OTTD_PRINTF64 " [avg: %.1f]\n", str, __sum__, __sum__/(double)__i__);\
|
DEBUG(misc, 0, "[%s] " OTTD_PRINTF64 " [avg: %.1f]", str, __sum__, __sum__/(double)__i__);\
|
||||||
__i__ = 0;\
|
__i__ = 0;\
|
||||||
__sum__ = 0;\
|
__sum__ = 0;\
|
||||||
}\
|
}\
|
||||||
|
Loading…
Reference in New Issue
Block a user