fix crash on Mac OS X, probably fix bug 738
This commit is contained in:
parent
f460685540
commit
250786d656
|
@ -2,6 +2,8 @@
|
|||
|
||||
* main/config.c: fix bug uncovered by having fgets cut off ending \n
|
||||
|
||||
* main/text.c: fix crash on Mac OS X, probably fix bug 738
|
||||
|
||||
2004-10-09 Martin Schaffner <maschaffner@gmx.ch>
|
||||
|
||||
* main/automap.c, main/cntrlcen.c, main/collide.c, main/endlevel.c,
|
||||
|
|
10
main/text.c
10
main/text.c
|
@ -1,4 +1,4 @@
|
|||
/* $Id: text.c,v 1.13 2004-08-28 23:17:45 schaffner Exp $ */
|
||||
/* $Id: text.c,v 1.14 2004-10-14 16:43:23 schaffner Exp $ */
|
||||
/*
|
||||
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
||||
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
||||
|
@ -23,7 +23,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
#endif
|
||||
|
||||
#ifdef RCS
|
||||
static char rcsid[] = "$Id: text.c,v 1.13 2004-08-28 23:17:45 schaffner Exp $";
|
||||
static char rcsid[] = "$Id: text.c,v 1.14 2004-10-14 16:43:23 schaffner Exp $";
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
@ -178,9 +178,9 @@ void load_text()
|
|||
|
||||
Text_string[644] = "Z1";
|
||||
Text_string[645] = "UN";
|
||||
Text_string[647] = "P1";
|
||||
Text_string[648] = "R1";
|
||||
Text_string[649] = "Y1";
|
||||
Text_string[646] = "P1";
|
||||
Text_string[647] = "R1";
|
||||
Text_string[648] = "Y1";
|
||||
}
|
||||
|
||||
//Assert(tptr==text+len || tptr==text+len-2);
|
||||
|
|
Loading…
Reference in a new issue