diff options
Diffstat (limited to 'navit/debug.c')
| -rw-r--r-- | navit/debug.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/navit/debug.c b/navit/debug.c index e46637cb2..75a30e91d 100644 --- a/navit/debug.c +++ b/navit/debug.c @@ -376,12 +376,12 @@ void debug_vprintf(dbg_level level, const char *module, const int mlen, const ch /* In the code below, we prepend the end-of-line sequence to the current string pointed by debug_message ("\r\n" for Windows, "\r" otherwise */ #ifdef HAVE_API_WIN32_BASE - if (len + 1 < sizeof(debug_message) - 1) { - /* For Windows platforms, add \r at the end of the buffer (if any room), make sure that we have room for one more character */ - *end++ = '\r'; - len++; - *end = '\0'; - } +// if (len + 1 < sizeof(debug_message) - 1) { +// /* For Windows platforms, add \r at the end of the buffer (if any room), make sure that we have room for one more character */ +// *end++ = '\r'; +// len++; +// *end = '\0'; +// } #endif if (len + 1 < sizeof(debug_message)) { /* Add \n at the end of the buffer (if any room) */ *end++ = '\n'; |
