summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-28 11:25:48 +0100
committerraveit65 <[email protected]>2022-07-21 19:33:49 +0200
commite1ef8fe27c63f15508b21b6c41497b64ef8c4553 (patch)
tree10a121c741c714adb31df56bcafc3c5d217dca8b /src
parent41ea2ed12f632e4e9151507ca99629047cc86d9c (diff)
downloadcaja-e1ef8fe27c63f15508b21b6c41497b64ef8c4553.tar.bz2
caja-e1ef8fe27c63f15508b21b6c41497b64ef8c4553.tar.xz
Remove warning -Wtype-limits
Diffstat (limited to 'src')
-rw-r--r--src/file-manager/fm-icon-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c
index 9d57853b..4af14ea6 100644
--- a/src/file-manager/fm-icon-view.c
+++ b/src/file-manager/fm-icon-view.c
@@ -1229,7 +1229,7 @@ get_default_zoom_level (FMIconView *icon_view)
(int *) &default_compact_zoom_level);
}
- return CLAMP (DEFAULT_ZOOM_LEVEL(icon_view), CAJA_ZOOM_LEVEL_SMALLEST, CAJA_ZOOM_LEVEL_LARGEST);
+ return MIN (DEFAULT_ZOOM_LEVEL(icon_view), CAJA_ZOOM_LEVEL_LARGEST);
}
static void