blob: b0f52ed4084dd715976356466ddd1275dc1e01f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/story_screen.cxx.orig 2004-09-12 17:09:51.000000000 -0700
+++ src/story_screen.cxx 2004-09-12 17:10:43.000000000 -0700
@@ -142,7 +142,7 @@
if (!page_displayed_completly)
{
- unsigned int len = static_cast<unsigned int>(20.0f * time_passed);
+ size_t len = static_cast<size_t>(20.0f * time_passed);
display_text = current_page.text.substr(0, Math::min(current_page.text.length(), len));
if (current_page.text.length() < len)
|