From b983fa0660a77e6d2729618dd7f8aa54fdf04324 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 25 Jul 2020 18:54:01 +0200 Subject: eel-editable-label: Consecutive break/return statements are unnecessary --- libcaja-private/caja-icon-container.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcaja-private') diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c index 5de4ac39..b45d046f 100644 --- a/libcaja-private/caja-icon-container.c +++ b/libcaja-private/caja-icon-container.c @@ -3278,8 +3278,8 @@ rightmost_in_top_row (CajaIconContainer *container, { return TRUE; } - return compare_icons_vertical (container, best_so_far, candidate) > 0; - return compare_icons_horizontal (container, best_so_far, candidate) < 0; + return ((compare_icons_vertical (container, best_so_far, candidate) > 0) && + (compare_icons_horizontal (container, best_so_far, candidate) < 0)); } static gboolean -- cgit v1.2.1