]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/filedlg.cpp
Oops, I left an extra { in there.
[wxWidgets.git] / src / gtk1 / filedlg.cpp
index 9866a89f3a524c8da4b8c94154baec804b86ad58..88b285e8ea789d81e9a40886a4e50300db2df507 100644 (file)
@@ -91,7 +91,7 @@ void gtk_filedialog_ok_callback( GtkWidget *WXUNUSED(widget), wxFileDialog *dial
         wxString cwd;
         wxSplitPath(filename, &cwd, NULL, NULL);
 
-        if ( cwd != wxGetWorkingDirectory() )
+        if ( cwd != wxGetCwd() )
         {
             wxSetWorkingDirectory(cwd);
         }