aboutsummaryrefslogtreecommitdiff
path: root/gui/predictivedialog.cpp
diff options
context:
space:
mode:
authorD G Turner2012-03-25 20:23:16 +0100
committerD G Turner2012-03-25 20:23:16 +0100
commit8b1a01b12d44dddfb8804cb71ddbbf0693722d58 (patch)
tree9c97d72f0f809aa5c0fd66a50b7bfb400802d5a0 /gui/predictivedialog.cpp
parentf3e446abe1fdfe2cf33abd5e604a83813d50650f (diff)
downloadscummvm-rg350-8b1a01b12d44dddfb8804cb71ddbbf0693722d58.tar.gz
scummvm-rg350-8b1a01b12d44dddfb8804cb71ddbbf0693722d58.tar.bz2
scummvm-rg350-8b1a01b12d44dddfb8804cb71ddbbf0693722d58.zip
GUI: Corrected fix for NDS compile failure...
Header needed to be in global, not GUI namespace.
Diffstat (limited to 'gui/predictivedialog.cpp')
-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