From 22381c5dbc8442e5febcf49152797488d3f67a8a Mon Sep 17 00:00:00 2001 From: f4exb Date: Thu, 3 Mar 2022 23:23:54 +0100 Subject: [PATCH] ValueDialZ: fix find exponent. Fixes #1158 --- sdrgui/gui/valuedialz.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdrgui/gui/valuedialz.cpp b/sdrgui/gui/valuedialz.cpp index d0e118fed..e255039bc 100644 --- a/sdrgui/gui/valuedialz.cpp +++ b/sdrgui/gui/valuedialz.cpp @@ -173,7 +173,8 @@ quint64 ValueDialZ::findExponent(int digit) for (int i = s+1; i < d+s; i++) { - if ((i%4 == 0) || (m_positiveOnly && (i == d+s-1))) { // non digit positions + // if ((i%4 == 0) || (m_positiveOnly && (i == d+s-1))) { // non digit positions + if (i%4 == 0) { continue; }