[misc] fix typos found by codespell

* 3rd party software was left out.
* Most changes are in code comments, but one user-visible string has also been fixed.
* Closes #1817
This commit is contained in:
Dimitri Papadopoulos 2021-11-01 17:00:02 +01:00 committed by Pete Batard
parent 5030c1520d
commit d840083a32
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
16 changed files with 28 additions and 28 deletions

View file

@ -1006,7 +1006,7 @@ BOOL CALLBACK LogCallback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
ShowWindow(hDlg, SW_HIDE);
log_displayed = FALSE;
// Set focus to the Cancel button on the main dialog
// This avoids intempestive tooltip display from the log toolbar buttom
// This avoids intempestive tooltip display from the log toolbar button
SendMessage(hMainDialog, WM_NEXTDLGCTL, (WPARAM)GetDlgItem(hMainDialog, IDCANCEL), TRUE);
return TRUE;
case IDC_LOG_CLEAR:
@ -1036,7 +1036,7 @@ BOOL CALLBACK LogCallback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
reset_localization(IDD_LOG);
log_displayed = FALSE;
// Set focus to the Cancel button on the main dialog
// This avoids intempestive tooltip display from the log toolbar buttom
// This avoids intempestive tooltip display from the log toolbar button
SendMessage(hMainDialog, WM_NEXTDLGCTL, (WPARAM)GetDlgItem(hMainDialog, IDCANCEL), TRUE);
return TRUE;
case UM_RESIZE_BUTTONS:
@ -3972,7 +3972,7 @@ relaunch:
}
// Standalone 'Alt' key toggles progress report between percent, rate (if available)
// and remaining time (if availabe)
// and remaining time (if available)
if (alt_pressed && !(GetKeyState(VK_MENU) & 0x8000)) {
alt_pressed = FALSE;
if (!alt_command)