Browse Source

Fix index error which stopped UI plugins extracting

tags/0.6.3m1rc1
Chris Smith 15 years ago
parent
commit
9134deb914
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/dmdirc/Main.java

+ 1
- 1
src/com/dmdirc/Main.java View File

@@ -305,7 +305,7 @@ public final class Main {
305 305
                 final String resourceName = Main.getConfigDir() + "plugins"
306 306
                         + resource.getKey().substring(7);
307 307
 
308
-                if (prefix != null && !resource.getKey().substring(7).startsWith(prefix)) {
308
+                if (prefix != null && !resource.getKey().substring(8).startsWith(prefix)) {
309 309
                     continue;
310 310
                 }
311 311
 

Loading…
Cancel
Save