summary refs log tree commit diff stats
path: root/compiler/ccgexprs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ccgexprs.nim')
-rwxr-xr-xcompiler/ccgexprs.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim
index dc17a39c7..d02c20559 100755
--- a/compiler/ccgexprs.nim
+++ b/compiler/ccgexprs.nim
@@ -1105,8 +1105,8 @@ proc rdSetElemLoc(a: TLoc, setType: PType): PRope =
   # before the set operation
   result = rdCharLoc(a)
   assert(setType.kind == tySet)
-  if (firstOrd(setType) != 0):
-    result = ropef("($1-$2)", [result, toRope(firstOrd(setType))])
+  if firstOrd(setType) != 0:
+    result = ropef("($1- $2)", [result, toRope(firstOrd(setType))])
 
 proc fewCmps(s: PNode): bool =
   # this function estimates whether it is better to emit code