mirror of
https://github.com/cc65/cc65.git
synced 2025-02-19 06:30:53 +00:00
Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3146 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9df7321d90
commit
2c3d5773f3
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user