diff --git a/src/about.cpp b/src/about.cpp index b856d859be3..6fd8805c9cd 100644 --- a/src/about.cpp +++ b/src/about.cpp @@ -222,8 +222,13 @@ void show_about(display &disp, std::string campaign) SDL_BlitSurface(map_image,&middle_src,video.getSurface(),&middle_dest); std::string style = "mainmenu"; - - gui::draw_dialog_frame(map_rect.x + map_rect.w * 3/32, map_rect.y + top_margin, map_rect.w * 13 / 16, map_rect.h - top_margin - bottom_margin,disp.video(),&style); + SDL_Rect frame = { + map_rect.x + map_rect.w * 3/32, + map_rect.y + top_margin, + map_rect.w * 13 / 16, + map_rect.h - top_margin - bottom_margin + }; + gui::draw_dialog_background(frame.x, frame.y, frame.w, frame.h,disp.video(),style); // draw one screen full of text const int line_spacing = 5; int y = map_rect.y + top_margin - offset;