From 991936c66e33d1ecb61c7c0201973209939423d4 Mon Sep 17 00:00:00 2001 From: Jeremy Penner Date: Wed, 2 Feb 2011 17:25:01 -0800 Subject: [PATCH] use correct string in Imgdir to check if a folder has been previously encountered --- src/Imgdir.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Imgdir.as b/src/Imgdir.as index da332cb..00e0aaa 100644 --- a/src/Imgdir.as +++ b/src/Imgdir.as @@ -42,7 +42,7 @@ package if (file.isDirectory && !rgdirname[file.name]) { var urpd: String = file.name + "/"; - rgdirname[urpd] = true; + rgdirname[file.name] = true; dispatchEvent(new EvNewImg(LOADED, urpd, null)); } else if (!file.isDirectory && /\.(png|gif|jpg|jpeg)$/i.test(file.name) && !mpurpf_bmp[file.name])