From e66cc8f3fa529472ffad6d4e0b04d96645f0682e Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Thu, 16 Feb 2017 18:38:57 +0100 Subject: [PATCH] use the right precision (2 digits) for the history entry of AWB temp bias --- rtgui/whitebalance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/whitebalance.cc b/rtgui/whitebalance.cc index 72090877e..362d03a8d 100644 --- a/rtgui/whitebalance.cc +++ b/rtgui/whitebalance.cc @@ -397,7 +397,7 @@ void WhiteBalance::adjusterChanged (Adjuster* a, double newval) } else if (a == equal) { listener->panelChanged (EvWBequal, Glib::ustring::format (std::setw(4), std::fixed, std::setprecision(3), a->getValue())); } else if (a == tempBias) { - listener->panelChanged (EvWBtempBias, Glib::ustring::format (std::setw(4), std::fixed, std::setprecision(3), a->getValue())); + listener->panelChanged (EvWBtempBias, Glib::ustring::format (std::setw(4), std::fixed, std::setprecision(2), a->getValue())); } } }