projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introducing wxBase for borland based on Michael Fieldings patch 598106
[wxWidgets.git]
/
src
/
msw
/
filedlg.cpp
diff --git
a/src/msw/filedlg.cpp
b/src/msw/filedlg.cpp
index ac7478a9d8406a23f3578fbe7d601a781ba3a90d..94a4e60b5886ab3214796234915d57b730faee75 100644
(file)
--- a/
src/msw/filedlg.cpp
+++ b/
src/msw/filedlg.cpp
@@
-310,8
+310,11
@@
int wxFileDialog::ShowModal()
if ( chNext != _T('\\') && chNext != _T('/') )
break;
- // ignore the next one
- i++;
+ // ignore the next one, unless it is at the start of a UNC path
+ if (i > 0)
+ i++;
+ else
+ break;
}
// fall through