GUI: Corrected fix for NDS compile failure...

Header needed to be in global, not GUI namespace.
This commit is contained in:
D G Turner 2012-03-25 20:23:16 +01:00
parent f3e446abe1
commit 8b1a01b12d

View file

@ -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
} // namespace GUI