Table of Contents

00000001:000f - FIX: OOP send to label jumps to newline before label

Information

Flags

Flag Set? (MUST/MAY/…) Description
parsing_must MUST NOT
reading_must MUST NOT
writing_must MUST NOT
playing_should MAY
playing_must MAY
editing_should MUST NOT

Field data

None.

Description

This bugfix changes the following line in OopSend():

  Board.Stats[iStat].DataPos := iDataPos;

to:

  Board.Stats[iStat].DataPos := iDataPos + 1;

As OopFindLabel() actually finds the location of the newline character prior to the label itself, this leads ZZT 3.2 to parse an additional empty line - and thus, if at least one message line has already been added, emit an empty line in a text window.

Implementations

TODO