]> git.saurik.com Git - wxWidgets.git/commitdiff
Had missed one LPSTR.
authorOve Kaaven <ovek@arcticnet.no>
Wed, 16 Jun 1999 06:50:28 +0000 (06:50 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Wed, 16 Jun 1999 06:50:28 +0000 (06:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dirdlg.cpp

index 3c20ff18199d9508503126618b11e6c8109d9ee6..4be95f9efe7c7f9fba64c757cdd2694de8d1ab30 100644 (file)
@@ -77,7 +77,7 @@ int wxDirDialog::ShowModal(void)
       return wxID_CANCEL;
     
     // Allocate a buffer to receive browse information. 
-    if ((lpBuffer = (LPSTR) pMalloc->Alloc(MAX_PATH)) == NULL) 
+    if ((lpBuffer = (LPTSTR) pMalloc->Alloc(MAX_PATH)) == NULL) 
     {
         pMalloc->Release();
         return wxID_CANCEL;