diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-08-18 20:41:45 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-08-18 20:41:45 +0100 |
| commit | 943b4dcb5fa597264f13f2d0cfa305f4dd542dbe (patch) | |
| tree | 3da3edb5249c5e338724859740838a7b4de7c652 /TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs | |
| parent | bd3612eadf3181856d5033d3e47b97357d88c345 (diff) | |
| download | histacom2-943b4dcb5fa597264f13f2d0cfa305f4dd542dbe.tar.gz histacom2-943b4dcb5fa597264f13f2d0cfa305f4dd542dbe.tar.bz2 histacom2-943b4dcb5fa597264f13f2d0cfa305f4dd542dbe.zip | |
Wordpad Save, Open and Save As
Diffstat (limited to 'TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs b/TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs index d111fbe..04f0405 100644 --- a/TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs +++ b/TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs @@ -161,7 +161,7 @@ namespace TimeHACK.OS.Win95.Win95Apps { ListViewItem itm; - if (IsFileOpenDialog == true || IsFileSaveDialog == true) + if (IsFileOpenDialog || IsFileSaveDialog) { if (!(Path.GetFileName(str) == "_data.info")) { @@ -637,7 +637,7 @@ namespace TimeHACK.OS.Win95.Win95Apps { try { - if (new DirectoryInfo((string)mainView.FocusedItem.Tag).Extension == null || new DirectoryInfo((string)mainView.FocusedItem.Tag).Extension == "") + if (Directory.Exists(Path.Combine(CurrentDirectory, mainView.FocusedItem.Text))) { // If it isn't a file if (mainView.FocusedItem.Text == "C:") GoToDir(Path.Combine(CurrentDirectory, "CDrive")); |
