Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Fixed wrong capitalization if the SND folder (was Snd) which caused t…
Browse files Browse the repository at this point in the history
…rouble on case sensitive operating systems (e.g. Linux) (fixes #11)
  • Loading branch information
andreas-eberle committed Apr 7, 2015
1 parent 448520a commit b66ae74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,4 @@ settings-ok = OK

place-folders-at = Bitte die Siedler-Bilder nach %s und die Sound-Dateien nach %s kopieren.
bad-folders-version = Du benötigst die Bilder der Siedler 3 Gold edition. Bitte kopiere sie nach %s.
place-folders-hint = Hier müssen die Ordner GFX und Snd sein
place-folders-hint = Hier müssen die Ordner GFX und SND sein
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ private String[] getFolders(String string) {
}

public String[] getSndFolders() {
return getFolders("Snd");
return getFolders("SND");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private void loadImageLookups() {

for (File file : files) {
ImageProvider.getInstance().addLookupPath(file);
SoundManager.addLookupPath(new File(file, "Snd"));
SoundManager.addLookupPath(new File(file, "SND"));
}
MapList.setDefaultList(new AndroidMapListFactory(getAssets(), files[0]));

Expand Down

0 comments on commit b66ae74

Please sign in to comment.