about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-08-01 20:52:28 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-08-01 20:52:28 +0200
commit4f99c0116a54fa6d962c2e1026c7a69f0665a63c (patch)
tree0efb5701c438ce2c40c01a1a85f430acb4a7c3ec
parentd277dbe0312aa476c363459510f3215bea190120 (diff)
downloadlr-4f99c0116a54fa6d962c2e1026c7a69f0665a63c.tar.gz
lr-4f99c0116a54fa6d962c2e1026c7a69f0665a63c.tar.xz
lr-4f99c0116a54fa6d962c2e1026c7a69f0665a63c.zip
color_size_on: fix typo, the cut-off is meant to be 2G
-rw-r--r--lr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lr.c b/lr.c
index 5a2d829..89f3573 100644
--- a/lr.c
+++ b/lr.c
@@ -1634,7 +1634,7 @@ color_size_on(off_t s)
 	else if (s <          512*1024LL) c = 226;
 	else if (s <         1024*1024LL) c = 220;
 	else if (s <     700*1024*1024LL) c = 214;
-	else if (s <  2*1048*1024*1024LL) c = 208;
+	else if (s <  2*1024*1024*1024LL) c = 208;
 	else if (s < 50*1024*1024*1024LL) c = 202;
 	else				  c = 196;