Opened 21 years ago

Closed 21 years ago

Last modified 6 years ago

#8212 closed patch

console: KillLastWord broken

Reported by: wjp Owned by: fingolfin
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

KillLastWord corrupts the prompt structure, because it can put _currentPos behind _promptEndPos. (it decreases _currentPos by cnt, and decreases _promptEndPos by cnt+1)

The attached patch seems to fix things.

Ticket imported from: #731615. Ticket imported from: patches/317.

Attachments (1)

console_killword.diff (654 bytes ) - added by wjp 21 years ago.
console_killword.diff

Download all attachments as: .zip

Change History (3)

by wjp, 21 years ago

Attachment: console_killword.diff added

console_killword.diff

comment:1 by fingolfin, 21 years ago

Owner: set to fingolfin
Status: newclosed

comment:2 by digitall, 6 years ago

Component: GUI
Note: See TracTickets for help on using tickets.