forget reformat the code so it look nice in editor
authorMagnus Olsen <magnus@greatlord.com>
Sun, 18 Dec 2005 17:53:33 +0000 (17:53 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Sun, 18 Dec 2005 17:53:33 +0000 (17:53 +0000)
svn path=/trunk/; revision=20250

reactos/subsys/system/calc/winecalc.c

index add5cc9..0b79875 100644 (file)
@@ -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);