import jf505 calltipsID.patch and fix the not-found-tip
[nedit-bw.git] / fix_hide_hscrollbar.patch
blobc95a50217a2f142ae013602077080c58d9b8dc0e
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 @@ -3925,11 +3925,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);