summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2015-01-08 09:51:05 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2015-01-08 11:59:11 +0000
commitb6cf61bfe3694fdf7c12f5fb99dd4d28ca11b396 (patch)
tree31bef211249df41e517961c49d0ddcf507c312a8
parent513ed24a97062db62be1932ee017c506de25b48d (diff)
downloadwireshark-b6cf61bfe3694fdf7c12f5fb99dd4d28ca11b396.tar.gz
Small parenthesis fix
Change-Id: I6bab238a37f7309daece7a7bfc062da41819d9ff Reviewed-on: https://code.wireshark.org/review/6394 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
-rw-r--r--epan/stats_tree.h2
-rw-r--r--ui/win32/file_dlg_win32.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/stats_tree.h b/epan/stats_tree.h
index ce0beeb098..d732c390db 100644
--- a/epan/stats_tree.h
+++ b/epan/stats_tree.h
@@ -163,7 +163,7 @@ WS_DLL_PUBLIC int stats_tree_tick_range(stats_tree *st,
int value_in_range);
#define stats_tree_tick_range_by_pname(st,name,parent_name,value_in_range) \
- stats_tree_tick_range((st),(name),stats_tree_parent_id_by_name((st),(parent_name),(value_in_range))
+ stats_tree_tick_range((st),(name),stats_tree_parent_id_by_name((st),(parent_name),(value_in_range)))
/* */
WS_DLL_PUBLIC int stats_tree_create_pivot(stats_tree *st,
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c
index 11aecaabb6..708dd680e5 100644
--- a/ui/win32/file_dlg_win32.c
+++ b/ui/win32/file_dlg_win32.c
@@ -1711,7 +1711,7 @@ save_as_file_hook_proc(HWND sf_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) {
}
g_filetype = new_filetype;
cur_ctrl = GetDlgItem(sf_hwnd, EWFD_GZIP_CB);
- if (wtap_dump_can_compress(file_type) {
+ if (wtap_dump_can_compress(file_type)) {
EnableWindow(cur_ctrl);
} else {
g_compressed = FALSE;