Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
diff --git a/controls/edit.c b/controls/edit.c
index 3a72ec4..3266dc7 100644
--- a/controls/edit.c
+++ b/controls/edit.c
@@ -2970,7 +2970,7 @@
*/
static void EDIT_WM_ContextMenu(WND *wnd, EDITSTATE *es, HWND hwnd, INT x, INT y)
{
- HMENU menu = LoadMenuIndirectA(SYSRES_GetResPtr(SYSRES_MENU_EDITMENU));
+ HMENU menu = LoadMenuA(GetModuleHandleA("USER32"), "EDITMENU");
HMENU popup = GetSubMenu(menu, 0);
UINT start = es->selection_start;
UINT end = es->selection_end;