diff options
author | mongo <mongo@iomega> | 2016-04-12 12:11:11 -0300 |
---|---|---|
committer | mongo <mongo@iomega> | 2016-04-12 12:11:11 -0300 |
commit | cc002346a1f5ee45cf1b1d6103b13e5c5137585f (patch) | |
tree | 98851d8cf581f77184774c4689b510fad17542b8 /src.scim2/filter.c | |
parent | 86971a282be00d2404229e6e06fffbc578b14e07 (diff) |
Changed ncurses.h to ncursesw/curses.h
Diffstat (limited to 'src.scim2/filter.c')
-rwxr-xr-x | src.scim2/filter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src.scim2/filter.c b/src.scim2/filter.c index d9ed7d1..9723d4a 100755 --- a/src.scim2/filter.c +++ b/src.scim2/filter.c @@ -55,7 +55,7 @@ void enable_filters(struct ent * left, struct ent * right) { results[0] = minr; // keep in first position the first row of the range! results[1] = maxr; // keep in second position the last row of the range! if (filters == NULL) { - scerror("There are no filters defined"); + sc_error("There are no filters defined"); return; } active = 1; @@ -98,7 +98,7 @@ void enable_filters(struct ent * left, struct ent * right) { // disable any applied filter void disable_filters() { if (results == NULL) { - scerror("There are no filters active"); + sc_error("There are no filters active"); return; } // Hide rows that don't match with filters @@ -113,7 +113,7 @@ void disable_filters() { // Show details of each filter void show_filters() { if (filters == NULL) { - scerror("There are no filters defined"); + sc_error("There are no filters defined"); return; } @@ -150,7 +150,7 @@ void free_filters() { // Remove a filter, freeing its memory void del_filter(int id) { if (filters == NULL || id < 0 || id > howmany) { - scerror("Cannot delete the filter"); + sc_error("Cannot delete the filter"); return; } if (filters[id].eval != NULL) { |