[loc] delete translations for the removed progress dialog

This commit is contained in:
Pete Batard 2015-01-24 02:30:42 +00:00
parent f965c5cd23
commit 7b0a5abab1
4 changed files with 40 additions and 216 deletions

View file

@ -325,7 +325,7 @@ void apply_localization(int dlg_id, HWND hDlg)
} else {
hCtrl = GetDlgItem(hDlg, lcmd->ctrl_id);
}
if (hCtrl == NULL) {
if ((hCtrl == NULL) && (hDlg != NULL)) {
loc_line_nr = lcmd->line_nr;
luprintf("control '%s' is not part of dialog '%s'\n",
lcmd->txt[0], control_id[dlg_id-IDD_DIALOG].name);