shell32: Fix a typo in a comment.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Francois Gouget 2018-06-01 11:12:21 +02:00 committed by Alexandre Julliard
parent 1bd06510e0
commit e523fab898
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ static INT_PTR CALLBACK file_properties_proc(HWND hwndDlg, UINT uMsg, WPARAM wPa
ERR("failed to update file attributes of %s\n", debugstr_w(props->path));
}
/* Update filename it it was changed */
/* Update filename if it was changed */
if (GetDlgItemTextW(hwndDlg, IDC_FPROP_PATH, newname, ARRAY_SIZE(newname)) &&
strcmpW(props->filename, newname) &&
strlenW(props->dir) + strlenW(newname) + 2 < ARRAY_SIZE(newpath))