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
This commit is contained in:
@@ -443,7 +443,7 @@ bool read_a_line(wxChar *buf)
|
|||||||
int ch = -2;
|
int ch = -2;
|
||||||
unsigned long bufIndex = 0;
|
unsigned long bufIndex = 0;
|
||||||
buf[0] = 0;
|
buf[0] = 0;
|
||||||
char lastChar = _T(' ');
|
int lastChar;
|
||||||
|
|
||||||
while (ch != EOF && ch != 10)
|
while (ch != EOF && ch != 10)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user