diff options
Diffstat (limited to 'source/blender/editors/screen/area_utils.c')
-rw-r--r-- | source/blender/editors/screen/area_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area_utils.c b/source/blender/editors/screen/area_utils.c index 003ba46be4f..cacd6b1edd7 100644 --- a/source/blender/editors/screen/area_utils.c +++ b/source/blender/editors/screen/area_utils.c @@ -81,7 +81,7 @@ int ED_region_generic_tools_region_snap_size(const ARegion *region, int size, in if (size <= snap_units[ARRAY_SIZE(snap_units) - 1]) { for (uint i = 0; i < ARRAY_SIZE(snap_units); i += 1) { const int test_size = snap_units[i]; - const int test_diff = ABS(test_size - size); + const int test_diff = abs(test_size - size); if (test_diff < best_diff) { best_size = test_size; best_diff = test_diff; |