Skip to content

Commit

Permalink
Fix loading maestro projects with instruments that have apostrophes
Browse files Browse the repository at this point in the history
(Traveller's Trusty Fiddle and Student's Fiddle)
  • Loading branch information
digero committed Apr 18, 2018
1 parent e094adb commit 691ff51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/digero/common/abc/LotroInstrument.java
Expand Up @@ -104,7 +104,7 @@ public boolean isPlayable(int noteId)

public static LotroInstrument parseInstrument(String string) throws IllegalArgumentException
{
string = string.toUpperCase().replaceAll("[\\s_]", "");
string = string.toUpperCase().replaceAll("[\\s_']", "");

if (string.equals("LUTE"))
return DEFAULT_LUTE;
Expand Down

0 comments on commit 691ff51

Please sign in to comment.