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
This commit is contained in:
@@ -262,7 +262,7 @@ void XmlResApp::FindFilesInXML(wxXmlNode *node, wxArrayString& flist, const wxSt
|
|||||||
// ...and known to contain filename
|
// ...and known to contain filename
|
||||||
{
|
{
|
||||||
wxString fullname;
|
wxString fullname;
|
||||||
if (wxIsAbsolutePath(n->GetContent())) fullname = n->GetContent();
|
if (wxIsAbsolutePath(n->GetContent()) || inputPath == "") fullname = n->GetContent();
|
||||||
else fullname = inputPath + "/" + n->GetContent();
|
else fullname = inputPath + "/" + n->GetContent();
|
||||||
|
|
||||||
if (flagVerbose)
|
if (flagVerbose)
|
||||||
|
@@ -262,7 +262,7 @@ void XmlResApp::FindFilesInXML(wxXmlNode *node, wxArrayString& flist, const wxSt
|
|||||||
// ...and known to contain filename
|
// ...and known to contain filename
|
||||||
{
|
{
|
||||||
wxString fullname;
|
wxString fullname;
|
||||||
if (wxIsAbsolutePath(n->GetContent())) fullname = n->GetContent();
|
if (wxIsAbsolutePath(n->GetContent()) || inputPath == "") fullname = n->GetContent();
|
||||||
else fullname = inputPath + "/" + n->GetContent();
|
else fullname = inputPath + "/" + n->GetContent();
|
||||||
|
|
||||||
if (flagVerbose)
|
if (flagVerbose)
|
||||||
|
Reference in New Issue
Block a user