blob: 8c32fe6cb54c6de86fb3cd7878bfa817994acdee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$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();
|