summaryrefslogtreecommitdiff
path: root/xsc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xsc.cpp')
-rw-r--r--xsc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xsc.cpp b/xsc.cpp
index 37d279f..847ecc4 100644
--- a/xsc.cpp
+++ b/xsc.cpp
@@ -79,7 +79,7 @@ int calculate(double& n1, char& op, double& n2) {
case '-':
std::cout << n1 - n2;
return 0;
- case '*':
+ case 'x':
std::cout << n1 * n2;
return 0;
case '/':