push up calltip_ignore_arg.patch
[nedit-bw.git] / fix_hide_hscrollbar.patch
blobca690a05dcb0a357b6835ebb54d395a94becdf73
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 @@ -3917,11 +3917,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);