X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Ftext.c;h=d7c264d87115e2609e221102cd3a2f28b89e8123;hp=6b5f03e0e521529b36f5f9b088342cd3cb029459;hb=7a821f79cb735d048869b503279c402800afa44a;hpb=c42450df0ac6ff7b6db97bf0df12b9c73055c727 diff --git a/src/libgame/text.c b/src/libgame/text.c index 6b5f03e0..d7c264d8 100644 --- a/src/libgame/text.c +++ b/src/libgame/text.c @@ -330,7 +330,7 @@ void DrawTextToTextArea(int x, int y, char *text, int font_nr, int area_xsize, int area_ysize) { int area_line = 0; - int font_height = getFontHeight(font_nr); + int font_height = getFontWidth(font_nr); if (text == NULL) return;