pushString: remove unused variables
[nedit-bw.git] / fix_background_menu.patch
blob2d70d16e200e5380772c87488c5f30229365344f
1 Subject: fix background menu
3 With this I can use the background menu with numlock on.
5 ---
7 source/menu.c | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --quilt old/source/menu.c new/source/menu.c
11 --- old/source/menu.c
12 +++ new/source/menu.c
13 @@ -5578,8 +5578,8 @@ Widget CreateBGMenu(WindowInfo *window)
14 with modifiers. I don't entirely understand why it works properly now
15 when it failed often in development, and certainly ignores the ~ syntax
16 in translation event specifications. */
17 - XtSetArg(args[0], XmNmenuPost, GetPrefBGMenuBtn());
18 - return CreatePopupMenu(window->textArea, "bgMenu", args, 1);
19 + /* XtSetArg(args[0], XmNmenuPost, GetPrefBGMenuBtn()); */
20 + return CreatePopupMenu(window->textArea, "bgMenu", args, 0);