Use gr_ustring instead of gr_uprintf where possible

This commit is contained in:
Kp 2013-12-08 23:37:40 +00:00
parent 1bf3722670
commit c3c1695ba5
2 changed files with 2 additions and 1 deletions

View file

@ -330,6 +330,7 @@ void gr_ustring(int x, int y, const char *s );
void gr_printf( int x, int y, const char * format, ... ) __attribute_format_printf(3, 4);
#define gr_printf(A1,A2,F,...) dxx_call_printf_checked(gr_printf,gr_string,(A1,A2),(F),##__VA_ARGS__)
void gr_uprintf( int x, int y, const char * format, ... ) __attribute_format_printf(3, 4);
#define gr_uprintf(A1,A2,F,...) dxx_call_printf_checked(gr_uprintf,gr_ustring,(A1,A2),(F),##__VA_ARGS__)
void gr_get_string_size(const char *s, int *string_width, int *string_height, int *average_width );

View file

@ -912,7 +912,7 @@ void gr_get_string_size(const char *s, int *string_width, int *string_height, in
}
void gr_uprintf( int x, int y, const char * format, ... )
void (gr_uprintf)( int x, int y, const char * format, ... )
{
char buffer[1000];
va_list args;