--- np2/win9xc/trace.cpp 2003/11/13 15:33:06 1.2 +++ np2/win9xc/trace.cpp 2003/11/14 07:37:29 1.3 @@ -46,7 +46,6 @@ static const char ClassName[] = "TRACE-c static const char ClassEdit[] = "EDIT"; static const char traceen[] = "Enable"; static const char tracefh[] = "File out"; -static const char crlf[] = "\r\n"; static TRACEWIN tracewin; static HWND hView = NULL; @@ -93,7 +92,7 @@ static void View_AddString(const char *l strcpy(szView, p); } strcat(szView, lpszString); - strcat(szView, crlf); + strcat(szView, str_crlf); SetWindowText(hView, szView); View_ScrollToBottom(hView); } @@ -302,7 +301,7 @@ void trace_fmt(const char *fmt, ...) { } if (tracewin.fh != FILEH_INVALID) { file_write(tracewin.fh, buf, strlen(buf)); - file_write(tracewin.fh, crlf, strlen(crlf)); + file_write(tracewin.fh, str_crlf, strlen(str_crlf)); } } }