From 2c3d5773f3beff84109b40b061cf2444753a5d7c Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 6 Jul 2004 14:25:03 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@3146 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/asmcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */