projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow wxThread::Wait() and Delete() to block, even under wxMSW.
[wxWidgets.git]
/
src
/
common
/
filesys.cpp
diff --git
a/src/common/filesys.cpp
b/src/common/filesys.cpp
index 65fe27f61e25b606917aa113bc874998f10b7b79..bf6fbc2efe7a4ce836f09cdc50996a7ecdfb958a 100644
(file)
--- a/
src/common/filesys.cpp
+++ b/
src/common/filesys.cpp
@@
-355,7
+355,7
@@
void wxFileSystem::ChangePathTo(const wxString& location, bool is_dir)
if (is_dir)
{
- if (
m_Path.length() > 0
&& m_Path.Last() != wxT('/') && m_Path.Last() != wxT(':'))
+ if (
!m_Path.empty()
&& m_Path.Last() != wxT('/') && m_Path.Last() != wxT(':'))
m_Path << wxT('/');
}