Calculator process percent wrong
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3121085
This commit is contained in:
parent
856357f4f5
commit
f78d75b771
|
@ -367,7 +367,7 @@ public final class Calculator extends CDialog
|
|||
case '/': case '*':
|
||||
case '-': case '+':
|
||||
case '%':
|
||||
if (m_display.length() > 1)
|
||||
if (m_display.length() > 0)
|
||||
{
|
||||
char last = m_display.charAt(m_display.length()-1);
|
||||
if (OPERANDS.indexOf(last) == -1)
|
||||
|
|
Loading…
Reference in New Issue