KeyGenerator 2.6i1 :
- Opt2 portato da 24 a 32 bit.
This commit is contained in:
Binary file not shown.
+2
-2
@@ -350,7 +350,7 @@ CKeyGeneratorDlg::LoadFile( const char* szFile)
|
||||
((CButton*)GetDlgItem( i))->SetCheck( BST_UNCHECKED) ;
|
||||
}
|
||||
int nOpt2 = GetPrivateProfileInt( sSec.c_str(), "Opt2", 0, szFile) ;
|
||||
for ( int i = IDC_CHECK2_01, j = 0 ; i <= IDC_CHECK2_24 ; ++ i, ++ j) {
|
||||
for ( int i = IDC_CHECK2_01, j = 0 ; i <= IDC_CHECK2_32 ; ++ i, ++ j) {
|
||||
if ( ( nOpt2 & ( 1 << j)) != 0)
|
||||
((CButton*)GetDlgItem( i))->SetCheck( BST_CHECKED) ;
|
||||
else
|
||||
@@ -432,7 +432,7 @@ CKeyGeneratorDlg::OnGenerate( void)
|
||||
nOpt1 += ( 1 << j) ;
|
||||
}
|
||||
unsigned int nOpt2 = 0 ;
|
||||
for ( int i = IDC_CHECK2_01, j = 0 ; i <= IDC_CHECK2_24 ; ++ i, ++ j) {
|
||||
for ( int i = IDC_CHECK2_01, j = 0 ; i <= IDC_CHECK2_32 ; ++ i, ++ j) {
|
||||
if ( ((CButton*)GetDlgItem( i))->GetCheck() == BST_CHECKED)
|
||||
nOpt2 += ( 1 << j) ;
|
||||
}
|
||||
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user