[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Prevent screen flickering (standalone info)
From: |
Gavin Smith |
Subject: |
Prevent screen flickering (standalone info) |
Date: |
Mon, 24 Mar 2014 17:15:56 +0000 |
Moving the cursor around causes some screen flickering. This patch stops this.
display.c (find_diff): Return values other than 0.
--- a/display.c
+++ b/display.c
@@ -102,7 +102,7 @@ find_diff (const char *a, size_t alen, const char
*b, size_t blen, int *ppos)
for (i = 0, mbi_init (itra, a, alen), mbi_init (itrb, b, blen);
mbi_avail (itra) && mbi_avail (itrb);
- mbi_advance (itra), mbi_advance (itrb))
+ i++, mbi_advance (itra), mbi_advance (itrb))
{
if (mb_cmp (mbi_cur (itra), mbi_cur (itrb)))
break;
- Prevent screen flickering (standalone info),
Gavin Smith <=