[ scummvm-Bugs-620361 ] MONKEYVGA: no longer appears in launcher

noreply at sourceforge.net noreply at sourceforge.net
Tue Oct 8 19:44:57 CEST 2002


Bugs item #620361, was opened at 2002-10-08 19:44
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=620361&group_id=37116

Category: GUI
Group: Monkey Island 1
Status: Open
Resolution: None
Priority: 5
Submitted By: David Oren (doren)
Assigned to: Nobody/Anonymous (nobody)
Summary: MONKEYVGA: no longer appears in launcher

Initial Comment:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=620361&group_id=37116




More information about the Scummvm-tracker mailing list