From: Julian Smart Date: Thu, 30 Sep 2004 18:41:55 +0000 (+0000) Subject: Applied patch 1037938 by Zbigniew Zagorski to fix Unicode build problems X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7f9975410ff186cd35dc770a5981950f0c861f70 Applied patch 1037938 by Zbigniew Zagorski to fix Unicode build problems in Tex2RTF HTML generation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/tex2rtf/src/htmlutil.cpp b/utils/tex2rtf/src/htmlutil.cpp index 5b357eda1a..2ef296d460 100644 --- a/utils/tex2rtf/src/htmlutil.cpp +++ b/utils/tex2rtf/src/htmlutil.cpp @@ -887,7 +887,7 @@ void HTMLOnMacro(int macroId, int no_args, bool start) int ch = getc(fd); while (ch != EOF) { - putc(ch, Sections); + wxPutc(ch, Sections); ch = getc(fd); } fclose(fd); @@ -1662,7 +1662,7 @@ void HTMLOnMacro(int macroId, int no_args, bool start) int ch = getc(fd); while (ch != EOF) { - putc(ch, Titlepage); + wxPutc(ch, Titlepage); ch = getc(fd); } fclose(fd); @@ -3075,7 +3075,7 @@ bool HTMLGo(void) int ch = getc(fd); while (ch != EOF) { - putc(ch, tmpTitle); + wxPutc(ch, tmpTitle); ch = getc(fd); } fclose(fd); diff --git a/utils/tex2rtf/src/rtfutils.cpp b/utils/tex2rtf/src/rtfutils.cpp index 24f498ad40..2c4ec17613 100644 --- a/utils/tex2rtf/src/rtfutils.cpp +++ b/utils/tex2rtf/src/rtfutils.cpp @@ -1931,7 +1931,7 @@ void RTFOnMacro(int macroId, int no_args, bool start) int ch = getc(fd); while (ch != EOF) { - putc(ch, Chapters); + wxPutc(ch, Chapters); ch = getc(fd); } fclose(fd); diff --git a/utils/tex2rtf/src/xlputils.cpp b/utils/tex2rtf/src/xlputils.cpp index b687adbf45..e29328aad1 100644 --- a/utils/tex2rtf/src/xlputils.cpp +++ b/utils/tex2rtf/src/xlputils.cpp @@ -434,7 +434,7 @@ void XLPOnMacro(int macroId, int no_args, bool start) int ch = getc(fd); while (ch != EOF) { - putc(ch, Chapters); + wxPutc(ch, Chapters); ch = getc(fd); } fclose(fd);