From: John L. <jr...@us...> - 2009-01-06 21:17:22
|
Update of /cvsroot/wxlua/wxLua/apps/wxlua/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9182/wxLua/apps/wxlua/src Modified Files: wxlua.cpp Log Message: Don't use wxPrintf(msg), use wxPrintf(wxT("%s"), msg.c_str()) Index: wxlua.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/wxlua.cpp,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** wxlua.cpp 5 Dec 2008 21:15:10 -0000 1.55 --- wxlua.cpp 6 Jan 2009 21:17:18 -0000 1.56 *************** *** 381,385 **** if (m_print_stdout) ! wxPrintf(msg + wxT("\n")); if (m_luaConsoleWrapper.Ok()) --- 381,385 ---- if (m_print_stdout) ! wxPrintf(wxT("%s\n"), msg.c_str()); if (m_luaConsoleWrapper.Ok()) *************** *** 392,396 **** { //if (m_print_stdout) // always print errors, FIXME: to stderr or is stdout ok? ! wxPrintf(msg + wxT("\n")); if (m_luaConsoleWrapper.Ok()) --- 392,396 ---- { //if (m_print_stdout) // always print errors, FIXME: to stderr or is stdout ok? ! wxPrintf(wxT("%s\n"), msg.c_str()); if (m_luaConsoleWrapper.Ok()) |