mirror of
https://gitlab.com/AutumnMeowMeow/jexer
synced 2024-09-19 11:50:19 -06:00
#68 fix ColorTheme.load()
This commit is contained in:
parent
9240f032a5
commit
6cd9e12929
1 changed files with 2 additions and 2 deletions
|
@ -234,8 +234,8 @@ public class ColorTheme {
|
|||
// Invalid line.
|
||||
continue;
|
||||
}
|
||||
String key = line.substring(0, line.indexOf(':')).trim();
|
||||
String text = line.substring(line.indexOf(':') + 1);
|
||||
String key = line.substring(0, line.indexOf('=')).trim();
|
||||
String text = line.substring(line.indexOf('=') + 1);
|
||||
setColorFromString(key, text);
|
||||
}
|
||||
// All done.
|
||||
|
|
Loading…
Reference in a new issue