aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/font.h')
-rw-r--r--graphics/font.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/font.h b/graphics/font.h
index e1c052c9e1..6927e0e076 100644
--- a/graphics/font.h
+++ b/graphics/font.h
@@ -26,6 +26,7 @@
#define GRAPHICS_FONT_H
#include "common/str.h"
+#include "common/array.h"
#include "graphics/surface.h"
namespace Common {
@@ -78,7 +79,7 @@ public:
* @param lines the string list to which the text lines from str are appended
* @return the maximal width of any of the lines added to lines
*/
- int wordWrapText(const Common::String &str, int maxWidth, Common::StringList &lines) const;
+ int wordWrapText(const Common::String &str, int maxWidth, Common::Array<Common::String> &lines) const;
};