Skip to content

Commit

Permalink
Use base_height where appropriate.
Browse files Browse the repository at this point in the history
  • Loading branch information
lipk committed Jul 21, 2014
1 parent 3071c38 commit 86f626c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storyscreen/render.cpp
Expand Up @@ -730,7 +730,7 @@ void part_ui::render_story_box()
SDL_Rect dstrect = sdl::create_rect(text_x_, 0, scan_width, scan_height);
bool scan_finished = false;
while(true) {
scan_finished = scan.y >= txttxt.height();
scan_finished = scan.y >= txttxt.base_height();
if (!scan_finished)
{
dstrect.y = fix_text_y + scan.y + storybox_padding;
Expand Down

0 comments on commit 86f626c

Please sign in to comment.