diff options
author | Max Horn | 2010-03-18 15:09:24 +0000 |
---|---|---|
committer | Max Horn | 2010-03-18 15:09:24 +0000 |
commit | c934642bdb7e6747a20054d7cc7b079e69bc22c2 (patch) | |
tree | 190d12bad5ed1cbabbd498d310f261c3a1c25bc9 /gui/message.cpp | |
parent | 30c84d2cff41924e6229d0cacd3d36ce1c2bf6ac (diff) | |
download | scummvm-rg350-c934642bdb7e6747a20054d7cc7b079e69bc22c2.tar.gz scummvm-rg350-c934642bdb7e6747a20054d7cc7b079e69bc22c2.tar.bz2 scummvm-rg350-c934642bdb7e6747a20054d7cc7b079e69bc22c2.zip |
COMMON: Move typedef StringList from str.h to new header str-array.h
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.
svn-id: r48282
Diffstat (limited to 'gui/message.cpp')
-rw-r--r-- | gui/message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/message.cpp b/gui/message.cpp index e4f0bb12da..12ac3123a4 100644 --- a/gui/message.cpp +++ b/gui/message.cpp @@ -53,7 +53,7 @@ MessageDialog::MessageDialog(const Common::String &message, const char *defaultB // down the string into lines, and taking the maximum of their widths. // Using this, and accounting for the space the button(s) need, we can set // the real size of the dialog - Common::StringList lines; + Common::Array<Common::String> lines; int lineCount, okButtonPos, cancelButtonPos; int maxlineWidth = g_gui.getFont().wordWrapText(message, screenW - 2 * 20, lines); |