From: George Tasker Date: Tue, 18 May 2004 01:50:13 +0000 (+0000) Subject: lastChar was defined as a char when it should have been an int X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6644cbe7fbe910802eebd7df66203191d30b1c5c lastChar was defined as a char when it should have been an int git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/tex2rtf/src/tex2any.cpp b/utils/tex2rtf/src/tex2any.cpp index aa2f7ea449..33db0d44bf 100644 --- a/utils/tex2rtf/src/tex2any.cpp +++ b/utils/tex2rtf/src/tex2any.cpp @@ -443,7 +443,7 @@ bool read_a_line(wxChar *buf) int ch = -2; unsigned long bufIndex = 0; buf[0] = 0; - char lastChar = _T(' '); + int lastChar; while (ch != EOF && ch != 10) {