Changeset 671 for AE/installer2/src/net/oni2/aeinstaller/backend
- Timestamp:
- Feb 10, 2013, 6:58:13 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/backend
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/backend/packages/Mod_Info.java
r648 r671 46 46 if (strLine.indexOf("->") < 1) 47 47 continue; 48 if (strLine.indexOf("//") >= 0) 49 strLine = strLine.substring(0, strLine.indexOf("//")); 48 int pos = strLine.indexOf("//"); 49 while (pos >= 0) { 50 if ((pos < 6) 51 || !strLine.substring(pos - 5, pos).equals("http:")) { 52 strLine = strLine.substring(0, pos); 53 break; 54 } else { 55 pos = strLine.indexOf("//", pos + 1); 56 } 57 } 50 58 String[] split = strLine.split("->", 2); 51 59 String sName = split[0].trim();
Note:
See TracChangeset
for help on using the changeset viewer.