Diff of /UsernameEntry.cpp [8f9672] .. [83e312]  Maximize  Restore

Switch to side-by-side view

--- a/UsernameEntry.cpp
+++ b/UsernameEntry.cpp
@@ -21,7 +21,7 @@
    : CDialog(CUsernameEntry::IDD, pParent)
 {
    m_makedefuser = FALSE;
-   m_username = "";
+   m_username = _T("");
 }
 
 
@@ -42,9 +42,9 @@
 {
    UpdateData(TRUE);
 
-   app.WriteProfileInt("", "usedefuser", m_makedefuser);
+   app.WriteProfileInt(_T(""), _T("usedefuser"), m_makedefuser);
    if (m_makedefuser==TRUE)
-      app.WriteProfileString("", "defusername", m_username);
+      app.WriteProfileString(_T(""), _T("defusername"), m_username);
 
    CDialog::OnOK();
 }

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks