+ xpos = 0;
+ ypos = ypos_2;
+ }
+ else
+ {
+ max_line_width = SXSIZE;
+
+ DrawTextSCentered(ypos_1, font_nr, message);
+
+ /* calculate offset to x position caused by rounding */
+ int max_chars_per_line = max_line_width / font_width;
+ int xoffset = (max_line_width - max_chars_per_line * font_width) / 2;
+
+ xpos = SX + xoffset;
+ ypos = SY + ypos_2;
+ }