summaryrefslogtreecommitdiff
path: root/win/Libdlg.cpp
diff options
context:
space:
mode:
authorleocad1999-11-25 14:05:40 +0000
committerleocad1999-11-25 14:05:40 +0000
commit776376706080b881901fd898c43758bd75c386d0 (patch)
treebedb7b0e743669f227484b6ae90656e1095d229e /win/Libdlg.cpp
parent247faeedad984ad8b033b74b69a955afbf0e9aff (diff)
Fixed to compiled with the modified File class
git-svn-id: http://svn.leocad.org/trunk@18 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Libdlg.cpp')
-rw-r--r--win/Libdlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/Libdlg.cpp b/win/Libdlg.cpp
index 0d9bf3a..bfd4420 100644
--- a/win/Libdlg.cpp
+++ b/win/Libdlg.cpp
@@ -114,7 +114,7 @@ BOOL CLibraryDlg::OnInitDialog()
m_TreeImages.Create(IDB_PARTICONS, 16, 0, RGB (0,128,128));
m_Tree.SetImageList(&m_TreeImages, TVSIL_NORMAL);
- File idx(false);
+ FileDisk idx;
char filename[LC_MAXPATH];
// Read the piece library index.
@@ -804,7 +804,7 @@ BOOL CLibraryDlg::OnCommand(WPARAM wParam, LPARAM lParam)
rename(str + "pieces.idx", str + "pieces-i.old");
rename(str + "pieces.bin", str + "pieces-b.old");
- File oldbin(false), oldidx(false), newbin(false), newidx(false);
+ FileDisk oldbin, oldidx, newbin, newidx;
if ((!oldbin.Open(str + "pieces-b.old", "rb")) ||
(!oldidx.Open(str + "pieces-i.old", "rb")) ||
(!newbin.Open(str + "pieces.bin", "wb")) ||