From 9f945b3fe2361205ba6a58f92dc976ded7bccb60 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 18 Dec 2000 12:42:31 +0000 Subject: Fixes for win2k crash git-svn-id: http://svn.leocad.org/trunk@183 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/Leocad.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'win/Leocad.cpp') diff --git a/win/Leocad.cpp b/win/Leocad.cpp index 66c45e1..657fc62 100644 --- a/win/Leocad.cpp +++ b/win/Leocad.cpp @@ -97,7 +97,6 @@ BOOL CCADApp::InitInstance() return FALSE; - // Register the application's document templates. Document templates // serve as the connection between documents, frame windows and views. CSingleDocTemplate* pDocTemplate; @@ -108,7 +107,7 @@ BOOL CCADApp::InitInstance() RUNTIME_CLASS(CCADView)); AddDocTemplate(pDocTemplate); - EnableShellOpen(); + EnableShellOpen(); RegisterShellFileTypes(TRUE); project = new Project; @@ -126,7 +125,6 @@ BOOL CCADApp::InitInstance() if (!project->Initialize(__argc, __targv, app, NULL)) return false; - // TODO: move this to the project. CString cfg = GetProfileString("Settings","Groups",""); if (!cfg.IsEmpty()) -- cgit v1.2.3