From 307280b28c47ce94bdd273305d70d17787b1d6e7 Mon Sep 17 00:00:00 2001 From: "Joseph C. Sible" Date: Sat, 23 Aug 2025 12:59:10 -0400 Subject: [PATCH] Fix leading zeros not being saved to colortables --- config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.cpp b/config.cpp index 8ea856a4..49098918 100644 --- a/config.cpp +++ b/config.cpp @@ -899,7 +899,7 @@ EX shared_ptr param_colortable(colortable& val, const paramete u->custom_save = [&val] { bool first = true; string str; - for(auto v: val) { if(first) first = false; else str += ","; str += itsh(v); } + for(auto v: val) { if(first) first = false; else str += ","; str += itsh6(v); } return str; }; u->custom_do_save = [dft, &val] { return val != dft; };