summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Esser <[email protected]>2017-05-13 11:34:23 +0200
committerraveit65 <[email protected]>2017-06-11 21:33:48 +0200
commita012da8526d450b02b963ed55022d6505910fab1 (patch)
treebb564d4f9a3b7de95b5ad2740126bf43440c6d93
parentefc9e4b19171af3141d3406fa14d0c6adc0c4203 (diff)
downloadpluma-a012da8526d450b02b963ed55022d6505910fab1.tar.bz2
pluma-a012da8526d450b02b963ed55022d6505910fab1.tar.xz
search-dialogs: fix a -Wpointer-compare warning
-rw-r--r--pluma/dialogs/pluma-search-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pluma/dialogs/pluma-search-dialog.c b/pluma/dialogs/pluma-search-dialog.c
index a77701c0..7b5c1679 100644
--- a/pluma/dialogs/pluma-search-dialog.c
+++ b/pluma/dialogs/pluma-search-dialog.c
@@ -529,11 +529,11 @@ pluma_search_dialog_set_search_text (PlumaSearchDialog *dialog,
gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog),
PLUMA_SEARCH_DIALOG_FIND_RESPONSE,
- (text != '\0'));
+ (*text != '\0'));
gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog),
PLUMA_SEARCH_DIALOG_REPLACE_ALL_RESPONSE,
- (text != '\0'));
+ (*text != '\0'));
}
/*