fix AOE2 textbox position

This commit is contained in:
FunkyFr3sh 2024-07-14 07:21:07 +02:00
parent cd3bef1cea
commit c850b0dcc3
4 changed files with 56 additions and 1 deletions

View file

@ -810,7 +810,7 @@ BOOL CALLBACK util_enum_child_proc(HWND hwnd, LPARAM lparam)
dbg_dump_wnd_styles(style, exstyle);
#endif
if (parent != g_ddraw.hwnd || size.right <= 1 || size.bottom <= 1 || strcmp(class_name, "Edit") == 0)
if (parent != g_ddraw.hwnd || size.right <= 1 || size.bottom <= 1 || _strcmpi(class_name, "Edit") == 0)
return TRUE;
if (g_config.fixchilds == FIX_CHILDS_DETECT_HIDE ||