summaryrefslogtreecommitdiff
path: root/win/Prefsht.cpp
diff options
context:
space:
mode:
authorleo2002-10-11 03:24:04 +0000
committerleo2002-10-11 03:24:04 +0000
commit9a634aa5dfbb1ef9f9b77d0b3785443c79a438e6 (patch)
tree1e0927fbdca9592df390d2ee5148a5d92e506a17 /win/Prefsht.cpp
parentd6b225e0c68375063632203830d14085cacfc2d0 (diff)
Set default author when starting a new project.
git-svn-id: http://svn.leocad.org/trunk@310 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Prefsht.cpp')
-rw-r--r--win/Prefsht.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/Prefsht.cpp b/win/Prefsht.cpp
index b1b947d..22e98c0 100644
--- a/win/Prefsht.cpp
+++ b/win/Prefsht.cpp
@@ -95,10 +95,11 @@ void CPreferencesSheet::OnDefault()
unsigned long l;
unsigned short s1, s2;
- m_PageGeneral.GetOptions(&i, &j, str);
+ m_PageGeneral.GetOptions(&i, &j, str, st1);
AfxGetApp()->WriteProfileInt("Settings", "Autosave", i);
AfxGetApp()->WriteProfileInt("Default", "Mouse", j);
AfxGetApp()->WriteProfileString("Default", "Projects", str);
+ AfxGetApp()->WriteProfileString("Default", "User", st1);
m_PageDetail.GetOptions(&l, &f);
AfxGetApp()->WriteProfileInt("Default", "Detail", l);
AfxGetApp()->WriteProfileInt("Default", "Line", (int)(f*100));