i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit a4e3bb93cb35229b38ec0796cde8c5d6d5a489b7
parent b7070ffafc8ef090652fc7d3c95f3d574d0cc6ee
Author: Raymond Li <hi@raymond.li>
Date:   Mon, 25 Jan 2021 23:38:56 -0500

Make min/max constants

Diffstat:
Mi3lock.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/i3lock.c b/i3lock.c
@@ -274,9 +274,9 @@ double *bar_heights = NULL;
 double bar_step = 15;
 double bar_base_height = 25;
 double bar_periodic_step = 15;
-double max_bar_height = 25;
-int max_bar_count = 65535;
-int min_bar_count = 1;
+const double max_bar_height = 25;
+const int max_bar_count = 65535;
+const int min_bar_count = 1;
 int bar_count = min_bar_count;
 int bar_width = 0;
 int bar_orientation = BAR_FLAT;