[Pikloops-svn] SF.net SVN: pikloops: [167] prog/trunk/src/mainwidgetpl.cpp
Brought to you by:
dionysos-sf
|
From: <dio...@us...> - 2007-10-17 11:34:47
|
Revision: 167
http://pikloops.svn.sourceforge.net/pikloops/?rev=167&view=rev
Author: dionysos-sf
Date: 2007-10-17 04:34:51 -0700 (Wed, 17 Oct 2007)
Log Message:
-----------
Fix compile time error
Modified Paths:
--------------
prog/trunk/src/mainwidgetpl.cpp
Modified: prog/trunk/src/mainwidgetpl.cpp
===================================================================
--- prog/trunk/src/mainwidgetpl.cpp 2007-10-17 11:31:36 UTC (rev 166)
+++ prog/trunk/src/mainwidgetpl.cpp 2007-10-17 11:34:51 UTC (rev 167)
@@ -136,7 +136,8 @@
tmpCode += QString(i18n("The lowest delay you can get have to be greater than %1s").arg(minDelay,0,'f',8)) ;
}
}
- else if ( loopValues->getCounterC() != -1 ) {
+ else {
+ if ( loopValues->getCounterC() != -1 ) {
tmpCode += QString("\tmovlw\tD'%1'\n").arg(loopValues->getCounterC(),0,10);
tmpCode += QString("\tmovwf\t");
tmpCode += QString(i18n("CounterC"));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|