Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / editors / nedit / patches / patch-source_window.c
blob61f2566dce6bd4721e3516138969d29ee1cdb9a2
1 $NetBSD$
3 Call XtVaSetValues correctly.
5 --- source/window.c~ 2004-09-15 22:50:58.000000000 +0000
6 +++ source/window.c
7 @@ -1157,7 +1157,7 @@ void SplitPane(WindowInfo *window)
8 if (window->backlightChars)
10 XtVaSetValues(text, textNbacklightCharTypes,
11 - window->backlightCharTypes, 0);
12 + window->backlightCharTypes, (char *)NULL);
14 XtManageChild(text);
15 window->textPanes[window->nPanes++] = text;
16 @@ -3016,10 +3016,10 @@ void SetBacklightChars(WindowInfo *windo
17 window->backlightCharTypes = NULL;
19 XtVaSetValues(window->textArea,
20 - textNbacklightCharTypes, window->backlightCharTypes, 0);
21 + textNbacklightCharTypes, window->backlightCharTypes, (char *)NULL);
22 for (i=0; i<window->nPanes; i++)
23 XtVaSetValues(window->textPanes[i],
24 - textNbacklightCharTypes, window->backlightCharTypes, 0);
25 + textNbacklightCharTypes, window->backlightCharTypes, (char *)NULL);
26 if (is_applied != do_apply)
27 SetToggleButtonState(window, window->backlightCharsItem, do_apply, False);