Skip to content

Commit

Permalink
Include more resource types in check for unused strings
Browse files Browse the repository at this point in the history
Added types: LUA, PRO
  • Loading branch information
Argent77 committed Jul 22, 2023
1 parent d8c3f2c commit c97c4f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/org/infinity/search/AbstractSearcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected boolean runSearch(String operation, List<ResourceEntry> entries) {
boolean isCancelled = false;
Debugging.timerReset();
int i = 0;
for (ResourceEntry entry : entries) {
for (final ResourceEntry entry : entries) {
if (progress.isCanceled()) {
break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/infinity/search/StringReferenceSearcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public final class StringReferenceSearcher extends AbstractReferenceSearcher {

/** Array of resource extensions which can contains string references. */
public static final String[] FILE_TYPES = { "2DA", "ARE", "BCS", "BS", "CHR", "CHU", "CRE", "DLG", "EFF", "GAM",
"INI", "ITM", "SPL", "SRC", "STO", "TOH", "WMP" };
"INI", "ITM", "LUA", "PRO", "SPL", "SRC", "STO", "TOH", "WMP" };

/** Searched string reference value. */
private final int searchvalue;
Expand Down

0 comments on commit c97c4f3

Please sign in to comment.