]> git.deb.at Git - pkg/abook.git/blobdiff - list.c
- code cleanups and minor fixes
[pkg/abook.git] / list.c
diff --git a/list.c b/list.c
index 31853a49e4a716d5539c08816c826919f7723caa..b208054d7cdfa71991a570d914f7c5273784fb3a 100644 (file)
--- a/list.c
+++ b/list.c
@@ -87,7 +87,7 @@ refresh_list()
 
        ui_print_number_of_items();
 
-       if(items < 1) {
+       if(list_is_empty()) {
                refresh();
                wrefresh(list);
                return;