Mercurial > projects > dwt-linux
diff dwt/browser/AppFileLocProvider.d @ 298:eec6ddb07873
More xpcom/mozilla port
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Sun, 10 Aug 2008 22:25:43 -0700 |
parents | b0bd1789106b |
children | c7c696cdfec2 |
line wrap: on
line diff
--- a/dwt/browser/AppFileLocProvider.d Fri Aug 08 15:25:08 2008 +0200 +++ b/dwt/browser/AppFileLocProvider.d Sun Aug 10 22:25:43 2008 -0700 @@ -108,7 +108,7 @@ int index = 0; /* set the first value(s) to the MOZ_PLUGIN_PATH environment variable value if it's defined */ String value = Environment.get (XPCOM.MOZILLA_PLUGIN_PATH); - if (ptr !is null) { + if (value !is null) { if (value.length > 0) { String separator = System.getProperty ("path.separator"); // $NON-NLS-1$ foreach (segment; delimiter(value, separator))