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:
parent
b75b04d41d
commit
089e95217e
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user