diff --git a/src/cc65/asmcode.c b/src/cc65/asmcode.c index 9f61dc212..f81d3ebb8 100644 --- a/src/cc65/asmcode.c +++ b/src/cc65/asmcode.c @@ -83,9 +83,9 @@ void MoveCode (const CodeMark* Start, const CodeMark* End, const CodeMark* Targe int CodeRangeIsEmpty (const CodeMark* Start, const CodeMark* End) /* Return true if the given code range is empty (no code between Start and End) */ -{ +{ int Empty; - PRECONDITION (Start->Pos >= End->Pos); + PRECONDITION (Start->Pos <= End->Pos); Empty = (Start->Pos == End->Pos); if (Empty) { /* Safety */