diff options
author | louie <lshprung@yahoo.com> | 2020-07-11 17:08:41 -0700 |
---|---|---|
committer | louie <lshprung@yahoo.com> | 2020-07-11 17:08:41 -0700 |
commit | 8f36e6816b5d5bd968f28e3c0acb269560d2796f (patch) | |
tree | 221717b1fd6f5a5df8bb0b23187d6f1106275bf0 /draw.c | |
parent | 8ec8e9d5dd37eac5266f8cd94ce946f23f436ef9 (diff) |
Added hiding of empty groups
Diffstat (limited to 'draw.c')
-rw-r--r-- | draw.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -48,8 +48,11 @@ int main(int argc, char **argv){ //Fill Groups cfg_interp(cfg_path); //read the contents of the cfg file - g = get_groups(); //retrieve results of previous function - g_count = get_gcount(g); //retrieve number of groups in g + + //Remove Empty Groups from the Array + clean_groups(); + g = get_groups(); //retrieve results of cfg_interp + g_count = get_gcount(g); //retrieve number of groups in g (only do this after removing empty groups) initscr(); cbreak(); |