]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fixes for gcc-3.4 + Unicode
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 31 Oct 2004 08:36:06 +0000 (08:36 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 31 Oct 2004 08:36:06 +0000 (08:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/tex2rtf/src/tex2any.cpp

index 8400d87a135cc9e29252da687f04b3a7fb6a6495..fe3f1b75572cf10e50d62f989b35a89288d05122 100644 (file)
@@ -2713,7 +2713,8 @@ void DefaultOnMacro(int macroId, int no_args, bool start)
       break;
     case ltPOUNDS:
       if (start)
-        TexOutput(_T("£"), true);
+        // FIXME: this is valid only if the output is iso-8859-1
+        TexOutput(wxString::FromAscii("£"), true);
       break;
     case ltSPECIALDOUBLEDOLLAR:  // Interpret as center
       OnMacro(ltCENTER, no_args, start);