Fix os detection issue in plugin loader.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9063 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2007-09-05 23:01:41 +00:00
committed by derek
parent 7fec6c6233
commit 1ae3d178dd

View File

@ -686,7 +686,7 @@ public class PluginManager implements MainWindowListener {
StringTokenizer tkn = new StringTokenizer(operatingSystem, ",");
while (tkn.hasMoreTokens()) {
String os = tkn.nextToken().toLowerCase();
if (currentOS.contains(os)) {
if (currentOS.contains(os) || currentOS.equalsIgnoreCase(os)) {
ok = true;
}
}