summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-icon-view.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-28 11:25:48 +0100
committerraveit65 <[email protected]>2021-01-15 23:03:21 +0100
commitd1da5da784acf6f029dfb07be2ac542fb7858371 (patch)
tree642e2cd79eb28d8df43787f648a5a7fa7e51bd51 /src/file-manager/fm-icon-view.c
parent8d9873565d3d445f11edf4269eb84ba0c0c87b5f (diff)
downloadcaja-d1da5da784acf6f029dfb07be2ac542fb7858371.tar.bz2
caja-d1da5da784acf6f029dfb07be2ac542fb7858371.tar.xz
Remove warning -Wtype-limits
Diffstat (limited to 'src/file-manager/fm-icon-view.c')
-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 4e000b48..e8e33a49 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