COMPOSER: Detect/run Mac versions of Darby/Gregory.
This commit is contained in:
parent
452280471b
commit
ee87420b64
2 changed files with 32 additions and 2 deletions
|
@ -81,8 +81,12 @@ Common::Error ComposerEngine::run() {
|
|||
_directoriesToStrip = 1;
|
||||
if (!_bookIni.loadFromFile("book.ini")) {
|
||||
_directoriesToStrip = 0;
|
||||
if (!_bookIni.loadFromFile("programs/book.ini"))
|
||||
error("failed to find book.ini");
|
||||
if (!_bookIni.loadFromFile("programs/book.ini")) {
|
||||
// mac version?
|
||||
if (!_bookIni.loadFromFile("Darby the Dragon.ini"))
|
||||
if (!_bookIni.loadFromFile("Gregory.ini"))
|
||||
error("failed to find book.ini");
|
||||
}
|
||||
}
|
||||
|
||||
uint width = 640;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue