summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-25 18:54:01 +0200
committerraveit65 <[email protected]>2020-08-28 16:16:05 +0200
commitb983fa0660a77e6d2729618dd7f8aa54fdf04324 (patch)
tree5ba1da89631430de63ee93bc0445c6d6d2547680 /libcaja-private
parentb24362929761f9145a05c987521d5f955b47a109 (diff)
downloadcaja-b983fa0660a77e6d2729618dd7f8aa54fdf04324.tar.bz2
caja-b983fa0660a77e6d2729618dd7f8aa54fdf04324.tar.xz
eel-editable-label: Consecutive break/return statements are unnecessary
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-icon-container.c4
1 files changed, 2 insertions, 2 deletions
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