forget reformat the code so it look nice in editor

svn path=/trunk/; revision=20250
This commit is contained in:
Magnus Olsen 2005-12-18 17:53:33 +00:00
parent 98a12a8380
commit b8bc139f1d

View file

@ -3060,16 +3060,16 @@ void calc_buffer_display(CALC *calc) {
if (old_base != calc->numBase) if (old_base != calc->numBase)
{ {
if (calc->buffer[0]==_T('\0')) if (calc->buffer[0]==_T('\0'))
{ {
real = 0; real = 0;
} }
else else
{ {
real = calc_atof(calc->buffer, old_base); real = calc_atof(calc->buffer, old_base);
} }
_stprintf(calc->display, _T("%.f"), real); _stprintf(calc->display, _T("%.f"), real);
_stprintf(calc->buffer, _T("%.f"), real); _stprintf(calc->buffer, _T("%.f"), real);
} }
_tcscpy(s,calc->buffer); _tcscpy(s,calc->buffer);