diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/predictivedialog.cpp | 6 | ||||
-rw-r--r-- | gui/themes/translations.dat | bin | 747035 -> 746774 bytes |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/predictivedialog.cpp b/gui/predictivedialog.cpp index 5650fd8e94..b01e4950d5 100644 --- a/gui/predictivedialog.cpp +++ b/gui/predictivedialog.cpp @@ -35,7 +35,7 @@ #include "common/file.h" #include "common/savefile.h" -#ifdef __DS__ +#if defined(__DS__) && defined(ENABLE_AGI) #include "backends/platform/ds/arm9/source/wordcompletion.h" #endif @@ -945,7 +945,7 @@ void PredictiveDialog::loadDictionary(Common::SeekableReadStream *in, Dict &dict while ((ptr = strchr(ptr, '\n'))) { *ptr = 0; ptr++; -#ifdef __DS__ +#if defined(__DS__) && defined(ENABLE_AGI) // Pass the line on to the DS word list DS::addAutoCompleteLine(dict.dictLine[i - 1]); #endif @@ -960,7 +960,7 @@ void PredictiveDialog::loadDictionary(Common::SeekableReadStream *in, Dict &dict // FIXME: We use binary search on _predictiveDict.dictLine, yet we make no at_tempt // to ever sort this array (except for the DS port). That seems risky, doesn't it? -#ifdef __DS__ +#if defined(__DS__) && defined(ENABLE_AGI) // Sort the DS word completion list, to allow for a binary chop later (in the ds backend) DS::sortAutoCompleteWordList(); #endif diff --git a/gui/themes/translations.dat b/gui/themes/translations.dat Binary files differindex abedbc75f1..99130dd147 100644 --- a/gui/themes/translations.dat +++ b/gui/themes/translations.dat |