diff options
author | Leander Harding | 2015-12-07 16:02:28 -0800 |
---|---|---|
committer | Leander Harding | 2015-12-07 16:02:28 -0800 |
commit | 61a218b998e94b17d378102fdf4d756d16bd0b18 (patch) | |
tree | df7b4679d17a99a2a63b1d8a92fb2f2d74527c41 /tasknc-emptyfilter_fix.patch | |
parent | d341f42021b7f3acfa10b49a486a13ce4221a9fc (diff) | |
download | aur-61a218b998e94b17d378102fdf4d756d16bd0b18.tar.gz |
Maintainer change, fixed build.
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 */ |