diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ui_shared.c | 2 | ||||
-rw-r--r-- | src/ui/ui_shared.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c index 81bc360d..28eb8758 100644 --- a/src/ui/ui_shared.c +++ b/src/ui/ui_shared.c @@ -4527,7 +4527,7 @@ void Item_TextColor( itemDef_t *item, vec4_t *newColor ) } } -static const char *Item_Text_Wrap( const char *text, float scale, float width ) +const char *Item_Text_Wrap( const char *text, float scale, float width ) { static char out[ 8192 ] = ""; char *paint = out; diff --git a/src/ui/ui_shared.h b/src/ui/ui_shared.h index a42d2c41..dec93587 100644 --- a/src/ui/ui_shared.h +++ b/src/ui/ui_shared.h @@ -509,6 +509,7 @@ void Controls_SetDefaults( void ); //for cg_draw.c void Item_Text_Wrapped_Paint( itemDef_t *item ); +const char *Item_Text_Wrap( const char *text, float scale, float width ); void UI_DrawTextBlock( rectDef_t *rect, float text_x, float text_y, vec4_t color, float scale, int textalign, int textvalign, int textStyle, const char *text ); |