File freqtweak-0.6.1-wrong-var-ref.diff of Package freqtweak

---
 src/FTmodulatorGui.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/FTmodulatorGui.cpp
+++ b/src/FTmodulatorGui.cpp
@@ -679,7 +679,7 @@
 				
 				if (tmpstr.ToLong (&tmplong)
 				    && cobj->control->setValue ((int) tmplong)
-				    && (float)tmpfloat >= lb && (float)tmpfloat <= ub)
+				    && (float)tmplong >= lb && (float)tmplong <= ub)
 				{
 					// change slider too
 					cobj->slider->SetValue (tmplong);