Opened 18 years ago

Closed 18 years ago

Last modified 2 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 18 years ago.
console_killword.diff

Download all attachments as: .zip

Change History (3)

by wjp, 18 years ago

Attachment: console_killword.diff added

console_killword.diff

comment:1 by fingolfin, 18 years ago

Owner: set to fingolfin
Status: newclosed

comment:2 by digitall, 2 years ago

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