diff --git a/code/q3_ui/ui_atoms.c b/code/q3_ui/ui_atoms.c index 55a7bfce..ac17814f 100644 --- a/code/q3_ui/ui_atoms.c +++ b/code/q3_ui/ui_atoms.c @@ -512,6 +512,10 @@ void UI_DrawProportionalString( int x, int y, const char* str, int style, vec4_t int width; float sizeScale; + if( !str ) { + return; + } + sizeScale = UI_ProportionalSizeScale( style ); switch( style & UI_FORMATMASK ) {