From 87b454d60eb84dc4268ea12bfae26e0e6cbb60af Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 16 Jul 2002 16:58:02 +0000 Subject: [PATCH] patch 580632 - fixes incorrect path problem in wxrc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/utils/wxrc/wxrc.cpp | 2 +- utils/wxrc/wxrc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/utils/wxrc/wxrc.cpp b/contrib/utils/wxrc/wxrc.cpp index 34a25c872e..38b5ac59fc 100644 --- a/contrib/utils/wxrc/wxrc.cpp +++ b/contrib/utils/wxrc/wxrc.cpp @@ -262,7 +262,7 @@ void XmlResApp::FindFilesInXML(wxXmlNode *node, wxArrayString& flist, const wxSt // ...and known to contain filename { wxString fullname; - if (wxIsAbsolutePath(n->GetContent())) fullname = n->GetContent(); + if (wxIsAbsolutePath(n->GetContent()) || inputPath == "") fullname = n->GetContent(); else fullname = inputPath + "/" + n->GetContent(); if (flagVerbose) diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index 34a25c872e..38b5ac59fc 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -262,7 +262,7 @@ void XmlResApp::FindFilesInXML(wxXmlNode *node, wxArrayString& flist, const wxSt // ...and known to contain filename { wxString fullname; - if (wxIsAbsolutePath(n->GetContent())) fullname = n->GetContent(); + if (wxIsAbsolutePath(n->GetContent()) || inputPath == "") fullname = n->GetContent(); else fullname = inputPath + "/" + n->GetContent(); if (flagVerbose) -- 2.45.2