fix OS/2 compilation of wxDoGetCwd()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-01-19 11:42:03 +00:00
parent b75b04d41d
commit 089e95217e

View File

@ -1535,7 +1535,7 @@ wxChar *wxDoGetCwd(wxChar *buf, int sz)
{
sz -= 3;
rc = ::DosQueryCurrentDir( 0 // current drive
,cbuf + 3
,(PBYTE)cbuf + 3
,(PULONG)&sz
);
cbuf[0] = char('A' + (ulDriveNum - 1));