summaryrefslogtreecommitdiff
path: root/source/gl_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/gl_draw.c')
-rw-r--r--source/gl_draw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/gl_draw.c b/source/gl_draw.c
index 51f6b9c..bf24608 100644
--- a/source/gl_draw.c
+++ b/source/gl_draw.c
@@ -248,8 +248,8 @@ void Draw_Char( int x, int y, uint32 flags, int ch, qhandle_t hFont ) {
draw.color, R_ImageForHandle( hFont ) );
}
-void Draw_String( int x, int y, uint32 flags, int maxChars,
- const char *string, qhandle_t hFont )
+int Draw_String( int x, int y, uint32 flags, int maxChars,
+ const char *string, qhandle_t hFont )
{
byte c;
float s, t;
@@ -300,6 +300,7 @@ void Draw_String( int x, int y, uint32 flags, int maxChars,
colors[ ( c >> 7 ) & 1 ], image );
x += 8;
}
+ return x;
}
image_t *r_charset;