[Pinfo-devel] r292 - pinfo/trunk/src
Bas Zoetekouw
bas at costa.debian.org
Wed Mar 15 12:10:53 UTC 2006
Author: bas
Date: 2006-03-15 12:10:52 +0000 (Wed, 15 Mar 2006)
New Revision: 292
Modified:
pinfo/trunk/src/mainfunction.c
Log:
Clear the status line before displaying an error message when a search fails
(thanks Jelmer, for noticing this)
Modified: pinfo/trunk/src/mainfunction.c
===================================================================
--- pinfo/trunk/src/mainfunction.c 2006-03-10 13:25:23 UTC (rev 291)
+++ pinfo/trunk/src/mainfunction.c 2006-03-15 12:10:52 UTC (rev 292)
@@ -518,6 +518,8 @@
if (!aftersearch)
{
attrset(bottomline);
+ mymvhline(maxy - 1, 0, ' ', maxx);
+ move(maxy - 1, 0);
mvaddstr(maxy - 1, 0, _("Search string not found..."));
statusline = LOCKED;
}
@@ -612,6 +614,8 @@
if (!success)
{
attrset(bottomline);
+ mymvhline(maxy - 1, 0, ' ', maxx);
+ move(maxy - 1, 0);
mvaddstr(maxy - 1, 0, _("Search string not found..."));
statusline = LOCKED;
}
More information about the Pinfo-devel
mailing list