summaryrefslogtreecommitdiff
path: root/ldmicro/compilecommon.cpp
diff options
context:
space:
mode:
authorRr422018-06-28 19:22:20 +0530
committerRr422018-06-28 19:22:20 +0530
commit3e7b5fcf5d796ad852723686352e2a6410684a7f (patch)
treeef616ca18044c1c0794a66c10f55a8388388049e /ldmicro/compilecommon.cpp
parentc7cef3198aeecc36dfe6102de6732eb461856899 (diff)
parent169b2cedb1a17c3ab537b3d39a3758d5742ba043 (diff)
downloadLDMicroGtk-3e7b5fcf5d796ad852723686352e2a6410684a7f.tar.gz
LDMicroGtk-3e7b5fcf5d796ad852723686352e2a6410684a7f.tar.bz2
LDMicroGtk-3e7b5fcf5d796ad852723686352e2a6410684a7f.zip
merge commit
Diffstat (limited to 'ldmicro/compilecommon.cpp')
-rw-r--r--ldmicro/compilecommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldmicro/compilecommon.cpp b/ldmicro/compilecommon.cpp
index a25d742..f66e7f9 100644
--- a/ldmicro/compilecommon.cpp
+++ b/ldmicro/compilecommon.cpp
@@ -118,8 +118,8 @@ static void MemForPin(char *name, DWORD *addr, int *bit, BOOL asInput)
if(strcmp(Prog.io.assignment[i].name, name)==0)
break;
}
- if(i >= Prog.io.count) oops();
+ if(i >= Prog.io.count) oops();
if(asInput && Prog.io.assignment[i].type == IO_TYPE_DIG_OUTPUT) oops();
if(!asInput && Prog.io.assignment[i].type == IO_TYPE_DIG_INPUT) oops();