From 8b1a01b12d44dddfb8804cb71ddbbf0693722d58 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 25 Mar 2012 20:23:16 +0100 Subject: [PATCH] GUI: Corrected fix for NDS compile failure... Header needed to be in global, not GUI namespace. --- gui/predictivedialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gui/predictivedialog.cpp b/gui/predictivedialog.cpp index 9b678552afb..a0b183fa7d3 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