freebsd-ports/games/hangman/files/patch-src__sound.c
Marcus Alves Grando a8a78b7103 Challenge your spelling skills in the old western style. Get it
right and we'll let you try again, until you get it wrong. But we
will give you another chance if you get it wrong.

WWW: http://www.shiftygames.com/hangman/hangman.html

PR:		88767
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru>
2005-11-11 15:31:49 +00:00

16 lines
343 B
C

--- src/sound.c.orig Sun Apr 11 01:27:01 2004
+++ src/sound.c Thu Nov 10 05:14:05 2005
@@ -47,10 +47,12 @@
{
Mix_Chunk * temp = NULL;
char * newname = NULL;
+ int len1, len2;
assert(name);
- int len1 = strlen(sg_data_path), len2 = strlen(name);
+ len1 = strlen(sg_data_path);
+ len2 = strlen(name);
if(disabled)
return NULL;