git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47770
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if defined(__OS2__)
if (d[1] == ':')
{
#if defined(__OS2__)
if (d[1] == ':')
{
- ::DosSetDefaultDisk(1 + wxToupper(d[0]) - _T('A'));
+ ::DosSetDefaultDisk(wxToupper(d[0]) - _T('A') + 1);
// do not call DosSetCurrentDir when just changing drive,
// since it requires e.g. "d:." instead of "d:"!
if (d.length() == 2)
// do not call DosSetCurrentDir when just changing drive,
// since it requires e.g. "d:." instead of "d:"!
if (d.length() == 2)