commit | a2e2e18586e09021a3898e269828899b36008c82 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Thu Feb 12 00:35:01 2004 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Feb 12 00:35:01 2004 +0000 |
tree | 0bb4282e3518b50a43f627c4d7925f95536d9fca | |
parent | 560a75679012de05626fd8a0058db282e0f4dc1c [diff] [blame] |
Avoid a few more GetModuleHandle calls.
diff --git a/controls/edit.c b/controls/edit.c index 377a8d4..82b289c 100644 --- a/controls/edit.c +++ b/controls/edit.c
@@ -3688,7 +3688,7 @@ */ static void EDIT_WM_ContextMenu(EDITSTATE *es, INT x, INT y) { - HMENU menu = LoadMenuA(GetModuleHandleA("USER32"), "EDITMENU"); + HMENU menu = LoadMenuA(user32_module, "EDITMENU"); HMENU popup = GetSubMenu(menu, 0); UINT start = es->selection_start; UINT end = es->selection_end;