bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #37823] Search prompt cursor wrongly positioned


From: Sergey Poznyakoff
Subject: Re: [bug #37823] Search prompt cursor wrongly positioned
Date: Wed, 19 Dec 2012 14:10:30 +0200

Norbert Preining <address@hidden> ha escrit:

> the same procedure:
>   info gzip
>   i
>   <Enter>
>   s
> I get the cursor before the "[]:"

Thanks for reporting.  Actually, this one is not related to that
particular bug.  Attached is the fix.

Regards,
Sergey

Index: info/window.c
diff -pu texinfo-4.13.92/info/window.c texinfo/info/window.c
--- texinfo-4.13.92/info/window.c       2012-12-01 01:58:20.000000000 +0200
+++ texinfo/info/window.c       2012-12-19 13:54:42.964511638 +0200
@@ -855,6 +855,7 @@ calculate_line_starts (WINDOW *window)
   calc_closure_expand (&closure);
   window->line_starts[window->line_count] = NULL;
   window->log_line_no[window->line_count] = 0;
+  window_line_map_init (window);
 }

 /* Given WINDOW, recalculate the line starts for the node it displays. */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]