fix warning

This commit is contained in:
IntelOrca 2016-03-04 23:12:52 +00:00
parent 57052d69f6
commit 2cd7f2d507
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ void draw_string_centred_raw(rct_drawpixelinfo *dpi, int x, int y, int numLines,
while ((codepoint = utf8_get_next(ch, (const utf8**)&nextCh)) != 0) {
ch = nextCh;
}
text = ch+1;
text = (char*)(ch + 1);
y += font_get_line_height(RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_FONT_SPRITE_BASE, uint16));
}