// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
-// http://www.artsoft.org/
+// https://www.artsoft.org/
// ----------------------------------------------------------------------------
// text.c
// ============================================================================
void DrawTextSAligned(int x, int y, char *text, int font_nr, int align)
{
DrawText(gfx.sx + ALIGNED_XPOS(x, getTextWidth(text, font_nr), align),
- gfx.sx + y, text, font_nr);
+ gfx.sy + y, text, font_nr);
}
void DrawTextAligned(int x, int y, char *text, int font_nr, int align)