extend-for-key-in-array-syntax: update to key=val syntax
[nedit-bw.git] / fix_hide_hscrollbar.patch
blobd128c2b7580b5228c9111ec5880ecbdaa074755c
1 ---
3 source/textDisp.c | 2 +-
4 1 files changed, 1 insertion(+), 1 deletion(-)
6 diff --quilt old/source/textDisp.c new/source/textDisp.c
7 --- old/source/textDisp.c
8 +++ new/source/textDisp.c
9 @@ -3930,11 +3930,11 @@ static int wrapUsesCharacter(textDisp *t
10 ** the longest possible line.
12 static void hideOrShowHScrollBar(textDisp *textD)
14 if (textD->continuousWrap && (textD->wrapMargin == 0 || textD->wrapMargin *
15 - textD->fontStruct->max_bounds.width < textD->width))
16 + textD->fontStruct->max_bounds.width <= textD->width))
17 XtUnmanageChild(textD->hScrollBar);
18 else
19 XtManageChild(textD->hScrollBar);