diff options
Diffstat (limited to 'tasknc-emptyfilter_fix.patch')
-rw-r--r-- | tasknc-emptyfilter_fix.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tasknc-emptyfilter_fix.patch b/tasknc-emptyfilter_fix.patch deleted file mode 100644 index e8474af11977..000000000000 --- a/tasknc-emptyfilter_fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/src/tasklist.c b/src/tasklist.c -index 0c106c0..b392076 100644 ---- a/src/tasklist.c -+++ b/src/tasklist.c -@@ -475,8 +475,12 @@ void tasklist_window() /* {{{ */ - /* check for an empty task list */ - if (head == NULL) - { -- tnc_fprintf(logfp, LOG_ERROR, "it appears that your task list is empty. %s does not yet support empty task lists.", PROGNAME); -- ncurses_end(-1); -+ if (strcmp(active_filter,"") == 0){ -+ tnc_fprintf(logfp, LOG_ERROR, "it appears that your task list is empty. %s does not yet support empty task lists.", PROGNAME); -+ ncurses_end(-1); -+ } -+ active_filter = strdup(""); -+ reload = true; - } - - /* get the screen size */ |