mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
forget reformat the code so it look nice in editor
svn path=/trunk/; revision=20250
This commit is contained in:
parent
98a12a8380
commit
b8bc139f1d
1 changed files with 10 additions and 10 deletions
|
@ -3060,16 +3060,16 @@ void calc_buffer_display(CALC *calc) {
|
|||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue