notepad: Use BOOL type where appropriate

Alexandre Julliard julliard at winehq.org
Wed Oct 16 04:38:30 CDT 2013


Frédéric Delanoy <frederic.delanoy at gmail.com> writes:

> @@ -298,7 +298,7 @@ static SAVE_STATUS DoSaveFile(LPCWSTR szFileName, ENCODING enc)
>      CloseHandle(hFile);
>      HeapFree(GetProcessHeap(), 0, pBytes);
>  
> -    SendMessageW(Globals.hEdit, EM_SETMODIFY, FALSE, 0);
> +    SendMessageW(Globals.hEdit, EM_SETMODIFY, 0, 0);

Many messages use booleans, even if the actual type is a WPARAM. Please
don't change them.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list