[ros-dev] [ros-diffs] [hbelusca] 72992: [CONSRV]: Code style changes only.

Thomas Faber thomas.faber at reactos.org
Wed Oct 19 09:10:54 UTC 2016


On 2016-10-19 01:45, hbelusca at svn.reactos.org wrote:
> --- trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/conwnd.c	[iso-8859-1] (original)
> +++ trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/conwnd.c	[iso-8859-1] Tue Oct 18 23:45:19 2016
> @@ -137,7 +137,7 @@
>                                   GetSystemMetrics(SM_CXSMICON),
>                                   GetSystemMetrics(SM_CYSMICON),
>                                   LR_SHARED);
> -    ghDefaultCursor = LoadCursorW(NULL, IDC_ARROW);
> +    ghDefaultCursor = LoadCursorW(NULL, MAKEINTRESOURCEW(IDC_ARROW));
>  
>      WndClass.cbSize = sizeof(WNDCLASSEXW);
>      WndClass.lpszClassName = GUI_CONWND_CLASS;

Defining UNICODE or WINE_NO_UNICODE_MACROS seems preferably to this
double cast. After all, the definition for IDC_ARROW is:

#define IDC_ARROW MAKEINTRESOURCE(32512)




More information about the Ros-dev mailing list