aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/predictivedialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/predictivedialog.cpp b/gui/predictivedialog.cpp
index 9b678552af..a0b183fa7d 100644
--- a/gui/predictivedialog.cpp
+++ b/gui/predictivedialog.cpp
@@ -34,6 +34,10 @@
#include "common/file.h"
#include "common/savefile.h"
+#ifdef __DS__
+#include "backends/platform/ds/arm9/source/wordcompletion.h"
+#endif
+
using namespace Common;
namespace GUI {
@@ -825,10 +829,6 @@ void PredictiveDialog::addWordToDict() {
}
}
-#ifdef __DS__
-#include "backends/platform/ds/arm9/source/wordcompletion.h"
-#endif
-
void PredictiveDialog::loadDictionary(Common::SeekableReadStream *in, Dict &dict) {
int lines = 0;
@@ -918,4 +918,4 @@ void PredictiveDialog::pressEditText() {
_edittext->draw();
}
-} // namespace GUI \ No newline at end of file
+} // namespace GUI