]> git.deb.at Git - pkg/abook.git/blobdiff - list.c
Fixed a nasty bug
[pkg/abook.git] / 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);
 }