2004-03-30 20:23:46 +02:00
|
|
|
$NetBSD: patch-aa,v 1.2 2004/03/30 18:23:46 ben Exp $
|
2002-05-26 01:23:01 +02:00
|
|
|
|
2004-03-30 20:23:46 +02:00
|
|
|
--- tex2rtf.cpp.orig Wed Aug 7 16:04:05 2002
|
|
|
|
+++ tex2rtf.cpp
|
|
|
|
@@ -330,7 +330,7 @@ bool MyApp::OnInit()
|
2002-05-26 01:23:01 +02:00
|
|
|
|
2004-03-30 20:23:46 +02:00
|
|
|
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();
|