fix OS/2 compilation of wxDoGetCwd()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1493,7 +1493,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));
|
||||
|
Reference in New Issue
Block a user