aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorpowwow@askgustav.com <powwow@askgustav.com>2021-03-07 21:48:08 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2021-07-09 15:28:15 (GMT)
commit8569eb93a7fa91a446fb211d31fb6e227d0aab65 (patch)
tree2809696c24afbf7fc4e8599742cb3ebcbd5bad23 /src
parent22aafdddce8130415c913e8be749134efa945979 (diff)
downloadpowwow-8569eb93a7fa91a446fb211d31fb6e227d0aab65.zip
powwow-8569eb93a7fa91a446fb211d31fb6e227d0aab65.tar.gz
powwow-8569eb93a7fa91a446fb211d31fb6e227d0aab65.tar.bz2
add missing braces
Diffstat (limited to 'src')
-rw-r--r--src/eval.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index 1a64108..f803fe1 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -789,8 +789,9 @@ static int exe_op(operator *op)
/* src == empty string. just return it */
check_delete(&o2);
o1.txt = src;
- if (!REAL_ERROR)
+ if (!REAL_ERROR) {
p=&o1; ret=1;
+ }
break;
}
@@ -915,8 +916,9 @@ static int exe_op(operator *op)
}
check_delete(&o2);
o1.txt = dst;
- if (!REAL_ERROR)
+ if (!REAL_ERROR) {
p=&o1; ret=1;
+ }
break;
case (int)colon_question:
case (int)point_question: