AppletLoader: slight tweak to make code more readable

This commit is contained in:
kappa1 2010-07-25 14:22:09 +00:00
parent 6f398ac850
commit 19b501fc46
1 changed files with 2 additions and 2 deletions

View File

@ -284,10 +284,10 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
fgColor = getColor("boxfgcolor", Color.black);
// load logos, if value is "" then skip
if (!getParameter("al_logo").equals("")) {
if (getParameter("al_logo").length() > 0) {
logo = getImage(getParameter("al_logo"));
}
if (!getParameter("al_progressbar").equals("")) {
if (getParameter("al_progressbar").length() > 0) {
progressbar = getImage(getParameter("al_progressbar"));
}