aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_math.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_math.c')
-rwxr-xr-xapps/app_math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_math.c b/apps/app_math.c
index 7ea7c22f8..8637d5265 100755
--- a/apps/app_math.c
+++ b/apps/app_math.c
@@ -178,7 +178,7 @@ static int math_exec(struct ast_channel *chan, void *data)
ftmp = (fnum1 * fnum2);
break;
case SUBTRACTFUNCTION :
- ftmp = (fnum2 - fnum1);
+ ftmp = (fnum1 - fnum2);
break;
case MODULUSFUNCTION : {
int inum1 = fnum1;