Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#2949 closed defect (fixed)

GUI crashes when trying to use backspace

Reported by: SF/gschmidl Owned by: wjp
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

When trying to use the backspace or Del keys to edit a game's descriptive name, the GUI crashes with the following assertion in the latest build (2006/12/17):

common/str.cpp:304: void Common::String::ensureCapacity(uint32, bool): Assertion `_len <= newCapacity' failed.

Ticket imported from: #1617410. Ticket imported from: bugs/2949.

Change History (4)

comment:1 by eriktorbjorn, 18 years ago

I can reproduce this, if the description is 32 characters long to begin with.

comment:2 by salty-horse, 18 years ago

I managed to reproduce it only when the length is 32 characters and I tried to delete one character. (32 is the value of the String::_builtinCapacity variable)

comment:3 by wjp, 18 years ago

Owner: set to wjp
Resolution: fixed
Status: newclosed

comment:4 by digitall, 6 years ago

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