]> git.deb.at Git - pkg/abook.git/commitdiff
Fixed a nasty bug
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Sat, 29 Dec 2001 21:38:37 +0000 (21:38 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Sat, 29 Dec 2001 21:38:37 +0000 (21:38 +0000)
list.c

diff --git a/list.c b/list.c
index c192b255cd61be2f6474864d42521df87f544cb0..faf3ae80f80a1cd7577e992b90e13518e8413aa4 100644 (file)
--- a/list.c
+++ b/list.c
@@ -9,8 +9,8 @@
 
 #include <stdio.h>
 #include <string.h>
-#include <assert.h>
 #include "abook.h"
+#include <assert.h>
 #include "ui.h"
 #include "database.h"
 #include "edit.h"
@@ -147,7 +147,7 @@ print_list_line(int i, int line, int highlight)
                                EXTRALEN);
 
        scrollok(list, TRUE);
-       if(highlight_line)
+       if(highlight)
                wstandend(list);
 }