165158ba55
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.
22 lines
571 B
Text
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();
|