summaryrefslogtreecommitdiff
path: root/src/Fl_Native_File_Chooser_WIN32.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2010-03-21 22:55:18 +0000
committerFabien Costantini <fabien@onepost.net>2010-03-21 22:55:18 +0000
commit31a54bcf1bf073e35d192f49320774ac485d843c (patch)
tree67d881301909804bc68b93e636ca36b314ae1ea6 /src/Fl_Native_File_Chooser_WIN32.cxx
parentb087f8b648a6cab810236df0f0d37ff4e41fbed7 (diff)
Fixed msvc6 compilation was broken. What is the use of visualc now? seems we should remove that one ...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Native_File_Chooser_WIN32.cxx')
-rw-r--r--src/Fl_Native_File_Chooser_WIN32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_WIN32.cxx b/src/Fl_Native_File_Chooser_WIN32.cxx
index 2cebb62ff..063c1e532 100644
--- a/src/Fl_Native_File_Chooser_WIN32.cxx
+++ b/src/Fl_Native_File_Chooser_WIN32.cxx
@@ -243,7 +243,7 @@ void Fl_Native_File_Chooser::ClearOFN() {
_ofn.lpstrFile = NULL;
}
if ( _ofn.lpstrInitialDir ) {
- delete [] _ofn.lpstrInitialDir;
+ delete [] (TCHAR*) _ofn.lpstrInitialDir; //msvc6 compilation fix
_ofn.lpstrInitialDir = NULL;
}
_ofn.lpstrFilter = NULL; // (deleted elsewhere)