Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#484 closed defect (fixed)

MONKEYVGA: no longer appears in launcher

Reported by: SF/doren Owned by: fingolfin
Priority: low Component: Engine: SCUMM
Keywords: Cc:
Game: Monkey Island 1

Description

Hi,

MonkeyVGA no longer appears in the launcher dialog, even if it exists in the configuration file.

The problem is caused by config-file.cpp rev. 1.5. All domain names are now kept in lower case.

In launcher.cpp, however: if (g_config->has_domain(v->filename)) { l.push_back(v->gamename); _filenames.push_back(v->filename); }

does not bother calling toLowercase() on the names before it searches the configuration file.

I suppose something like this should work:

String temp = v->filename; temp.toLowercase ();

if (g_config->has_domain(temp)) { l.push_back(v->gamename); _filenames.push_back(v->filename); }

David

Ticket imported from: #620361. Ticket imported from: bugs/484.

Change History (3)

comment:1 by (none), 18 years ago

Logged In: NO

see #616748 !

comment:2 by fingolfin, 18 years ago

Fixed by modifiying has_domain() to do the right thing.

comment:3 by fingolfin, 18 years ago

Owner: set to fingolfin
Priority: normallow
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.