Ignore:
Timestamp:
2008-09-12T11:09:14+02:00 (16 years ago)
Author:
stoecker
Message:

fixed Yahoo detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java

    r10382 r10645  
    9494                                if ((name != null) && (url != null)) {
    9595                                        wmsList.add(new WMSInfo(name, url, prefid));
    96                                         if(name.equals("YAHOO"))isYahoo = true;
     96                                        if(url.startsWith("yahoo://")) isYahoo = true;
    9797                                }
    9898                                name = null; url = null; lastid = prefid;
     
    106106                if ((name != null) && (url != null)) {
    107107                        wmsList.add(new WMSInfo(name, url, prefid));
    108                         if(name.equals("YAHOO"))isYahoo = true;
     108                        if(url.startsWith("yahoo://")) isYahoo = true;
    109109                }
    110110
Note: See TracChangeset for help on using the changeset viewer.