X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/574c0bbfbd2096f7ee0d10ad7222bb012e6f5ad7..7d532b0ceb43aaa235ba4e814599214bb905ccc9:/src/msw/iniconf.cpp diff --git a/src/msw/iniconf.cpp b/src/msw/iniconf.cpp index c249619a24..9bb3f31d92 100644 --- a/src/msw/iniconf.cpp +++ b/src/msw/iniconf.cpp @@ -355,7 +355,7 @@ bool wxIniConfig::Read(const wxString& szKey, long *pl) const // is it really nMagic? lVal = GetPrivateProfileInt(m_strGroup, strKey, nMagic2, m_strLocalFilename); - if ( lVal == nMagic ) { + if ( lVal == nMagic2 ) { // the nMagic it returned was indeed read from the file *pl = lVal; return TRUE;