forget reformat the code so it look nice in editor Modified: trunk/reactos/subsys/system/calc/winecalc.c _____
Modified: trunk/reactos/subsys/system/calc/winecalc.c --- trunk/reactos/subsys/system/calc/winecalc.c 2005-12-18 17:52:28 UTC (rev 20249) +++ trunk/reactos/subsys/system/calc/winecalc.c 2005-12-18 17:53:33 UTC (rev 20250) @@ -3060,16 +3060,16 @@
if (old_base != calc->numBase) { - if (calc->buffer[0]==_T('\0')) - { - real = 0; - } - else - { - real = calc_atof(calc->buffer, old_base); - } - _stprintf(calc->display, _T("%.f"), real); - _stprintf(calc->buffer, _T("%.f"), real); + if (calc->buffer[0]==_T('\0')) + { + real = 0; + } + else + { + real = calc_atof(calc->buffer, old_base); + } + _stprintf(calc->display, _T("%.f"), real); + _stprintf(calc->buffer, _T("%.f"), real); }
_tcscpy(s,calc->buffer);