diff options
author | rbuj <[email protected]> | 2020-07-25 18:54:01 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-21 19:33:49 +0200 |
commit | a77e17fa5506b54ea21a1244e86c98148239ad91 (patch) | |
tree | 5c942998a13ea87031615d921224a49e072ae419 /libcaja-private | |
parent | 5617e7fdd75ca7e682d2b091d7c0c0125801c84b (diff) | |
download | caja-a77e17fa5506b54ea21a1244e86c98148239ad91.tar.bz2 caja-a77e17fa5506b54ea21a1244e86c98148239ad91.tar.xz |
eel-editable-label: Consecutive break/return statements are unnecessary
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-icon-container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c index 14ec7d08..f6321564 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 |