From 776376706080b881901fd898c43758bd75c386d0 Mon Sep 17 00:00:00 2001 From: leocad Date: Thu, 25 Nov 1999 14:05:40 +0000 Subject: Fixed to compiled with the modified File class git-svn-id: http://svn.leocad.org/trunk@18 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/Libdlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/Libdlg.cpp') 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")) || -- cgit v1.2.3