Opened 15 years ago

Closed 15 years ago

Last modified 9 months ago

#1859 closed defect (fixed)

ALL: Possible to create corrupt config file

Reported by: eriktorbjorn Owned by: fingolfin
Priority: normal Component: GUI
Keywords: Cc:


Tested with the latest CVS snapshot.

It's possible to create a corrupt ScummVM config file,
for instance by editing a game to insert a space in the
target name. Such a file cannot be corrected from
within ScummVM, since it will error out with a "Config
file buggy" error message at startup.

Fingolfin's initial suggestion is to add a character
filter to the text widget class.

Ticket imported from: #1091801. Ticket imported from: bugs/1859.

Change History (4)

comment:1 Changed 15 years ago by fingolfin

I added a char filter to the widget class now, alright.

Of course that doesn't help people who already hosed their config file.
Then again, it's not too hard to fix that issue with a text editor, and so
far I only heard one report about a problem occuring here... So we might
just ignore it.

comment:2 Changed 15 years ago by eriktorbjorn

Sounds good enough to me.

comment:3 Changed 15 years ago by fingolfin

Owner: set to fingolfin
Resolution: fixed
Status: newclosed

comment:4 Changed 9 months ago by digitall

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