diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2008-08-13 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:56 +0300 |
commit | 173c07e166fdf6fcd20f18ea73008f1b628945df (patch) | |
tree | 13ebea85cdc4c16ae93714ff0627ee9f91ad7e08 /CPP/7zip/UI/GUI/ExtractDialog.cpp | |
parent | 3901bf0ab88106a5b031cba7bc18d60cdebf7eef (diff) |
4.59 beta
Diffstat (limited to 'CPP/7zip/UI/GUI/ExtractDialog.cpp')
-rwxr-xr-x | CPP/7zip/UI/GUI/ExtractDialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/CPP/7zip/UI/GUI/ExtractDialog.cpp b/CPP/7zip/UI/GUI/ExtractDialog.cpp index 876fbbba..6b388700 100755 --- a/CPP/7zip/UI/GUI/ExtractDialog.cpp +++ b/CPP/7zip/UI/GUI/ExtractDialog.cpp @@ -94,7 +94,7 @@ void CExtractDialog::SetPathMode() for (int i = 0; i < kNumPathnamesButtons; i++) if(PathMode == kPathModeButtonsVals[i]) { - CheckRadioButton(kPathModeButtons[0], kPathModeButtons[kNumPathnamesButtons - 1], + CheckRadioButton(kPathModeButtons[0], kPathModeButtons[kNumPathnamesButtons - 1], kPathModeButtons[i]); return; } @@ -121,7 +121,7 @@ void CExtractDialog::SetOverwriteMode() for (int i = 0; i < kNumOverwriteButtons; i++) if(OverwriteMode == kOverwriteButtonsVals[i]) { - CheckRadioButton(kOverwriteButtons[0], kOverwriteButtons[kNumOverwriteButtons - 1], + CheckRadioButton(kOverwriteButtons[0], kOverwriteButtons[kNumOverwriteButtons - 1], kOverwriteButtons[i]); return; } @@ -142,8 +142,8 @@ int CExtractDialog::GetFilesMode() const #endif -#ifdef LANG -static CIDLangPair kIDLangPairs[] = +#ifdef LANG +static CIDLangPair kIDLangPairs[] = { { IDC_STATIC_EXTRACT_EXTRACT_TO, 0x02000801 }, { IDC_EXTRACT_PATH_MODE, 0x02000810 }, @@ -174,9 +174,9 @@ static CIDLangPair kIDLangPairs[] = static const int kHistorySize = 8; #endif -bool CExtractDialog::OnInit() +bool CExtractDialog::OnInit() { - #ifdef LANG + #ifdef LANG LangSetWindowText(HWND(*this), 0x02000800); LangSetDlgItemsText(HWND(*this), kIDLangPairs, sizeof(kIDLangPairs) / sizeof(kIDLangPairs[0])); #endif @@ -210,7 +210,7 @@ bool CExtractDialog::OnInit() #endif /* - if(extractionInfo.Paths.Size() > 0) + if(extractionInfo.Paths.Size() > 0) _path.SetCurSel(0); else _path.SetCurSel(-1); @@ -223,7 +223,7 @@ bool CExtractDialog::OnInit() SetOverwriteMode(); /* - CheckRadioButton(kFilesButtons[0], kFilesButtons[kNumFilesButtons - 1], + CheckRadioButton(kFilesButtons[0], kFilesButtons[kNumFilesButtons - 1], kFilesButtons[_filesMode]); */ @@ -278,7 +278,7 @@ bool CExtractDialog::OnButtonClicked(int buttonID, HWND buttonHWND) return CModalDialog::OnButtonClicked(buttonID, buttonHWND); } -void CExtractDialog::OnButtonSetPath() +void CExtractDialog::OnButtonSetPath() { UString currentPath; _path.GetText(currentPath); @@ -300,7 +300,7 @@ void AddUniqueString(UStringVector &list, const UString &s) list.Add(s); } -void CExtractDialog::OnOK() +void CExtractDialog::OnOK() { #ifndef _SFX GetPathMode(); @@ -365,7 +365,7 @@ void CExtractDialog::UpdateWildCardState() #ifndef NO_REGISTRY static LPCWSTR kHelpTopic = L"fm/plugins/7-zip/extract.htm"; -void CExtractDialog::OnHelp() +void CExtractDialog::OnHelp() { ShowHelpWindow(NULL, kHelpTopic); CModalDialog::OnHelp(); |