[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/kcalc
From: Klaus Niederkrüger <kniederk () mi ! uni-koeln ! de>
Date: 2005-02-05 12:42:18
Message-ID: 20050205124218.703231D1B2 () office ! kde ! org
[Download RAW message or body]
CVS commit by kniederk:
fix BUG 98522: M- button did not work at least since KDE-3.2.
Shame on me, and thanks to Bernd Brandstetter for reporting the bug.
Hope it is ok to fix such bug in the KDE-3.4-beta2 freeze.
M +4 -0 ChangeLog 1.75
M +4 -3 kcalc.cpp 1.195
--- kdeutils/kcalc/ChangeLog #1.74:1.75
@@ -1,2 +1,6 @@
+2005-02-05 Klaus Niederkrüger <kniederk@math.uni-koeln.de>
+ * fix BUG 98522: M- button did not work at least since KDE-3.2. Shame on me, and thanks to
+ Bernd Brandstetter for reporting the bug.
+
2004-12-21 Klaus Niederkrüger <kniederk@math.uni-koeln.de>
* added some more contants and dropped Pi-button since not needed.
--- kdeutils/kcalc/kcalc.cpp #1.194:1.195
@@ -1340,7 +1340,8 @@ void KCalculator::slotPlusMinusclicked(v
void KCalculator::slotMPlusMinusclicked(void)
{
- EnterEqual();
+ bool tmp_inverse = inverse; // store this, because next command deletes inverse
+ EnterEqual(); // finish calculation so far, to store result into MEM
- if (!inverse) memory_num += calc_display->getAmount();
+ if (!tmp_inverse) memory_num += calc_display->getAmount();
else memory_num -= calc_display->getAmount();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic