git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24762
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// normally the absolute file names start with a slash
// with one exception: the ones like "~/foo.bar" don't
// have it
// normally the absolute file names start with a slash
// with one exception: the ones like "~/foo.bar" don't
// have it
- if ( m_dirs[0u] != _T('~') )
+ if ( m_dirs.IsEmpty() || m_dirs[0u] != _T('~') )
{
fullpath += wxFILE_SEP_PATH_UNIX;
}
{
fullpath += wxFILE_SEP_PATH_UNIX;
}