diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-05-30 23:14:07 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-05-30 23:14:07 +0000 |
commit | 37af1a5f942329a8ed7e18255fb17af02e102333 (patch) | |
tree | ce240b54b1c70e21ae9ba7ae0da4bc9f2cd0c701 /epan/prefs.c | |
parent | ddcd6c5ce79cd6087c0f7cfe9af776f52c629fa8 (diff) |
Add some needed parenthesis as pointed out by Jakub and the OS X
builders.
svn path=/trunk/; revision=42935
Diffstat (limited to 'epan/prefs.c')
-rw-r--r-- | epan/prefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/prefs.c b/epan/prefs.c index 06991e1aa5..9cd716861a 100644 --- a/epan/prefs.c +++ b/epan/prefs.c @@ -2577,7 +2577,7 @@ set_pref(gchar *pref_name, gchar *value, void *private_data _U_, find_index_from_string_array(value, gui_layout_content_text, 0); } else if (strcmp(pref_name, PRS_CONSOLE_LOG_LEVEL) == 0) { prefs.console_log_level = strtoul(value, NULL, 10); - if (prefs.console_log_level & G_LOG_LEVEL_INFO|G_LOG_LEVEL_DEBUG) { + if (prefs.console_log_level & (G_LOG_LEVEL_INFO|G_LOG_LEVEL_DEBUG)) { /* * GLib >= 2.32 drops INFO and DEBUG messages by default. Tell * it not to do that. |