pkgsrc/converters/tex2rtf/patches/patch-aa
ben 165158ba55 Update tex2rtf to version 2.01. A changelog is not available, but this
version of tex2rtf is updated to work with newer versions of wxwindows,
and the prior version is referred to as obsolete.  I am told that some
of the patches duplicate work that is done in CVS, so some patches
should disappear over time.
2004-03-30 18:23:46 +00:00

22 lines
571 B
Text

$NetBSD: patch-aa,v 1.2 2004/03/30 18:23:46 ben Exp $
--- tex2rtf.cpp.orig Wed Aug 7 16:04:05 2002
+++ tex2rtf.cpp
@@ -330,7 +330,7 @@ bool MyApp::OnInit()
if (InputFile)
{
- sprintf(buf, "Tex2RTF [%s]", FileNameFromPath(InputFile));
+ sprintf(buf, "Tex2RTF [%s]", wxFileNameFromPath(InputFile));
frame->SetTitle(buf);
}
@@ -967,7 +967,7 @@ bool Go(void)
if (InputFile && OutputFile)
{
- if (!FileExists(InputFile))
+ if (!wxFileExists(InputFile))
{
OnError("Cannot open input file!");
TexCleanUp();