[ATL] Sync with Wine Staging 3.17. CORE-15127
[reactos.git] / dll / win32 / atl / atl_ax.c
index 1765dcc..28bec71 100644 (file)
@@ -1268,7 +1268,7 @@ static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl)
         if ( GET_WORD(tmp) == '{' ) /* all this mess created because of this line */
         {
             static const WCHAR AtlAxWin[] = {'A','t','l','A','x','W','i','n', 0};
-            PUT_BLOCK(AtlAxWin, sizeof(AtlAxWin)/sizeof(WCHAR));
+            PUT_BLOCK(AtlAxWin, ARRAY_SIZE(AtlAxWin));
             PUT_BLOCK(tmp, strlenW(tmp)+1);
         } else
             PUT_BLOCK(tmp, src-tmp);