Author: fireball
Date: Mon Feb 12 19:38:36 2007
New Revision: 25793
URL:
http://svn.reactos.org/svn/reactos?rev=25793&view=rev
Log:
Merge 25729 (calc.exe fix)
Modified:
branches/ros-branch-0_3_1/reactos/base/applications/calc/winecalc.c
Modified: branches/ros-branch-0_3_1/reactos/base/applications/calc/winecalc.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_1/reactos/base/a…
==============================================================================
--- branches/ros-branch-0_3_1/reactos/base/applications/calc/winecalc.c (original)
+++ branches/ros-branch-0_3_1/reactos/base/applications/calc/winecalc.c Mon Feb 12
19:38:36 2007
@@ -2882,16 +2882,16 @@
MessageBeep(0);
}
- if (point) {
- p = calc->buffer;
- n = _tcslen(p) - 1;
- while (*(p+n) &&
- *(p+n) != TEXT('.') &&
- *(p+n) == TEXT('0')) {
- calc->buffer[n] = TEXT('\0');
- n--;
- }
- }
+ //if (point) {
+ // p = calc->buffer;
+ // n = _tcslen(p) - 1;
+ // while (*(p+n) &&
+ // *(p+n) != TEXT('.') &&
+ // *(p+n) == TEXT('0')) {
+ // calc->buffer[n] = TEXT('\0');
+ // n--;
+ // }
+ //}
// remove leading zeros