Opened 20 years ago

Closed 20 years ago

Last modified 6 years ago

#1859 closed defect (fixed)

ALL: Possible to create corrupt config file

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

Description

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 by fingolfin, 20 years ago

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 by eriktorbjorn, 20 years ago

Sounds good enough to me.

comment:3 by fingolfin, 20 years ago

Owner: set to fingolfin
Resolution: fixed
Status: newclosed

comment:4 by digitall, 6 years ago

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