summaryrefslogtreecommitdiff
path: root/win/Leocad.cpp
diff options
context:
space:
mode:
authorleo2000-12-18 12:42:31 +0000
committerleo2000-12-18 12:42:31 +0000
commit9f945b3fe2361205ba6a58f92dc976ded7bccb60 (patch)
tree54db9efd1c083ac06128e4f9d8f1f4e2044d832c /win/Leocad.cpp
parente679694a7bcb61ffee8351bad0396944716b81d4 (diff)
Fixes for win2k crash
git-svn-id: http://svn.leocad.org/trunk@183 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Leocad.cpp')
-rw-r--r--win/Leocad.cpp4
1 files changed, 1 insertions, 3 deletions
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())