From 8a3ed2dffcdc9fc732edca40d5c54aa01279698f Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 29 Jan 2010 21:29:00 +0100 Subject: [PATCH] atl: Use IS_INTRESOURCE not HIWORD to check a resource. --- dlls/atl/atl_ax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/atl/atl_ax.c b/dlls/atl/atl_ax.c index da595a4e24b..2afc7460328 100644 --- a/dlls/atl/atl_ax.c +++ b/dlls/atl/atl_ax.c @@ -1208,7 +1208,7 @@ HWND WINAPI AtlAxCreateDialogA(HINSTANCE hInst, LPCSTR name, HWND owner, DLGPROC int length; WCHAR *nameW; - if ( HIWORD(name) == 0 ) + if (IS_INTRESOURCE(name)) return AtlAxCreateDialogW( hInst, (LPCWSTR) name, owner, dlgProc, param ); length = MultiByteToWideChar( CP_ACP, 0, name, -1, NULL, 0 );