summaryrefslogblamecommitdiff
path: root/games/quake3/files/patch-code-ui-ui_main.c
blob: c480b68fd78ab55315525d815109e91ad66b7b74 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                                                    
--- ./code/ui/ui_main.c.orig	Wed May 31 18:55:11 2006
+++ ./code/ui/ui_main.c	Wed May 31 19:10:12 2006
@@ -4988,7 +4988,7 @@
 		{
 			filelen = strlen(fileptr);
 
-			COM_StripExtension(fileptr,skinname);
+			COM_StripExtension(fileptr, skinname, sizeof(skinname));
 
 			// look for icon_????
 			if (Q_stricmpn(skinname, "icon_", 5) == 0 && !(Q_stricmp(skinname,"icon_blue") == 0 || Q_stricmp(skinname,"icon_red") == 0))