fix 'nedit file' segfaults
[nedit-bw.git] / enhanced-hooks-fix-typo-loosing.patch
blob3ac270ba3e41ccd29853af80be12887eb72e0db7
1 ---
3 source/window.c | 2 +-
4 1 files changed, 1 insertion(+), 1 deletion(-)
6 diff --quilt old/source/window.c new/source/window.c
7 --- old/source/window.c
8 +++ new/source/window.c
9 @@ -2457,11 +2457,11 @@ static void focusCB(Widget w, WindowInfo
10 MacroApplyHook(window, "focus_hook", 0, NULL, NULL);
13 static void loosingFocusCB(Widget w, WindowInfo *window, XtPointer callData)
15 - MacroApplyHook(window, "loosing_focus_hook", 0, NULL, NULL);
16 + MacroApplyHook(window, "losing_focus_hook", 0, NULL, NULL);
19 static void dragStartCB(Widget w, WindowInfo *window, XtPointer callData)
21 /* don't record all of the intermediate drag steps for undo */