diff options
author | Timm Bäder <mail@baedert.org> | 2017-02-16 12:23:47 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-02-17 18:23:01 +0100 |
commit | 2786d52ab603c4d4f2ce3156fc2d9d084bfbe72f (patch) | |
tree | 2e3d575609dc8b95ea5ba8ee908a83efb6b4d675 /gtk/gtkfilechooserentry.c | |
parent | aebea7d644795bb9bf89a75a97f9af8150835673 (diff) | |
download | gtk+-2786d52ab603c4d4f2ce3156fc2d9d084bfbe72f.tar.gz |
filechooserentry: Avoid an uninitialized value
|= with a garbage value on the left side results in a still-garbage
value.
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r-- | gtk/gtkfilechooserentry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index e5607c1490..77f76a6678 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -213,7 +213,7 @@ match_func (GtkEntryCompletion *compl, needed_flags = gtk_file_filter_get_needed (chooser_entry->current_filter); filter_info.display_name = g_file_info_get_display_name (file_info); - filter_info.contains |= GTK_FILE_FILTER_DISPLAY_NAME; + filter_info.contains = GTK_FILE_FILTER_DISPLAY_NAME; if (needed_flags & GTK_FILE_FILTER_MIME_TYPE) { |