diff options
author | b0ric <b0risov.alexandr@rambler.ru> | 2009-08-07 17:15:47 +0300 |
---|---|---|
committer | b0ric <b0risov.alexandr@rambler.ru> | 2009-08-07 17:15:47 +0300 |
commit | 88db5cdceabf042f5e5d5695bf984900f8396225 (patch) | |
tree | a5b53bc578a5621d0e62f5d17ffb22c2d0e964d8 /callbacks.c | |
parent | 180da16f3c1592d1515de2e647144a37cc23c1b9 (diff) |
Search bug fix
Diffstat (limited to 'callbacks.c')
-rw-r--r-- | callbacks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/callbacks.c b/callbacks.c index a2f94f8..89325f7 100644 --- a/callbacks.c +++ b/callbacks.c @@ -149,7 +149,7 @@ void find_next_btn_click(GtkWidget *widget, gpointer entry) const gchar *find_text = NULL; find_text = gtk_entry_get_text(GTK_ENTRY(entry)); - find_next(find_text); + find_other(find_text, SEARCH_FORWARD); } void find_prev_btn_click(GtkWidget *widget, gpointer entry) @@ -157,7 +157,7 @@ void find_prev_btn_click(GtkWidget *widget, gpointer entry) const gchar *find_text = NULL; find_text = gtk_entry_get_text(GTK_ENTRY(entry)); - find_prev(find_text); + find_other(find_text, SEARCH_BACKWARD); } void clear_btn_click(GtkWidget *widget, gpointer find_entry) |