aboutsummaryrefslogtreecommitdiff
path: root/gui/predictivedialog.h
diff options
context:
space:
mode:
authorD G Turner2012-03-25 23:29:19 +0100
committerD G Turner2012-03-25 23:29:19 +0100
commit371bc1ddc123984b5334a6bbfc105493306ffc3b (patch)
tree8afcda0a99eba250cafbd6557c1acb9438966e0e /gui/predictivedialog.h
parent6a6831014c3907dcd02514306b8334edb553596e (diff)
downloadscummvm-rg350-371bc1ddc123984b5334a6bbfc105493306ffc3b.tar.gz
scummvm-rg350-371bc1ddc123984b5334a6bbfc105493306ffc3b.tar.bz2
scummvm-rg350-371bc1ddc123984b5334a6bbfc105493306ffc3b.zip
GUI: Fix for WinCE compile failure after predictive dialog changes.
This is probably due to a collision with WinCE toolchain system define, so changing the enum from all capitalised to Camel Case constant style.
Diffstat (limited to 'gui/predictivedialog.h')
-rw-r--r--gui/predictivedialog.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gui/predictivedialog.h b/gui/predictivedialog.h
index 6d7cd320b7..34686c95e7 100644
--- a/gui/predictivedialog.h
+++ b/gui/predictivedialog.h
@@ -57,9 +57,9 @@ enum {
};
enum {
- MAXLINELEN = 80,
- MAXWORDLEN = 24,
- MAXWORD = 50
+ kMaxLineLen = 80,
+ kMaxWordLen = 24,
+ kMaxWord = 50
};
class PredictiveDialog : public GUI::Dialog {
@@ -121,10 +121,10 @@ private:
uint32 _curTime, _lastTime;
ButtonId _lastPressBtn;
- char _temp[MAXWORDLEN + 1];
- int _repeatcount[MAXWORDLEN];
+ char _temp[kMaxWordLen + 1];
+ int _repeatcount[kMaxWordLen];
- char *_memoryList[MAXWORD];
+ char *_memoryList[kMaxWord];
int _numMemory;
String _search;