diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2013-10-30 17:49:56 +0100 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2013-10-30 17:55:39 +0100 |
commit | d938c595830be2dcaae8d99621945988006b2f69 (patch) | |
tree | 89274e0c96652718a389ff2f76332dba9252659d /crawl-ref/source/menu.cc | |
parent | 5bf649e60a6adcb6c6245b3d218fb843b9e3eccf (diff) | |
download | crawl-ref-d938c595830be2dcaae8d99621945988006b2f69.tar.gz crawl-ref-d938c595830be2dcaae8d99621945988006b2f69.zip |
Increase the size of the description box in species/job selection menu.
Most languages are not as concise as english, it's quite hard to fit
translations on 2 lines. Besides, there's plenty of room on the screen.
Diffstat (limited to 'crawl-ref/source/menu.cc')
-rw-r--r-- | crawl-ref/source/menu.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc index 69486881a9..b75865876b 100644 --- a/crawl-ref/source/menu.cc +++ b/crawl-ref/source/menu.cc @@ -2826,7 +2826,8 @@ void TextItem::render() cgotoxy(m_min_coord.x, m_min_coord.y + i); textcolor(m_fg_colour); textbackground(m_bg_colour); - cprintf("%s", m_render_text.substr(newline_pos, endline_pos).c_str()); + cprintf("%s", m_render_text.substr(newline_pos, + endline_pos - newline_pos).c_str()); if (endline_pos != string::npos) newline_pos = endline_pos + 1; else |