Calc: Fixed Enter key
authorNathan Woods <npwoods@mess.org>
Sat, 29 Oct 2005 13:43:09 +0000 (13:43 +0000)
committerNathan Woods <npwoods@mess.org>
Sat, 29 Oct 2005 13:43:09 +0000 (13:43 +0000)
svn path=/trunk/; revision=18847

reactos/subsys/system/calc/winecalc.c

index 02028cb..55aa08f 100644 (file)
@@ -3412,12 +3412,11 @@ int parse(int wParam, int lParam)
                 else {
                     calc.memory = calc_atof(calc.buffer, calc.numBase);
                 }
+                return 0;
             }
-            return 0;
         }
-        break;
+        // fall through for Enter processing
 
-        // fall through for Enter processing ... but there is a bug here in Ctrl+M vs. Return
     case TEXT('='):
         {
             calcfloat r = calc.operand;