Index: egoboo-source-2.7.7/game/game.c =================================================================== --- egoboo-source-2.7.7/game/game.c +++ egoboo-source-2.7.7/game/game.c 2009-05-16 18:37:52.000000000 +0200 @@ -5150,7 +5150,7 @@ // ZZ> This function kinda mimics fprintf for the output of // btrue bfalse statements - fprintf( filewrite, text ); + fprintf( filewrite, "%s", text ); if ( truth ) { fprintf( filewrite, "TRUE\n" ); @@ -5166,7 +5166,7 @@ { // ZZ> This function kinda mimics fprintf for the output of // SLASH CRUSH POKE HOLY EVIL FIRE ICE ZAP statements - fprintf( filewrite, text ); + fprintf( filewrite, "%s", text ); switch ( damagetype ) { @@ -5188,7 +5188,7 @@ // ZZ> This function kinda mimics fprintf for the output of // SLASH CRUSH POKE HOLY EVIL FIRE ICE ZAP statements - fprintf( filewrite, text ); + fprintf( filewrite, "%s", text ); if ( action >= ACTION_DA && action <= ACTION_DD ) fprintf( filewrite, "WALK\n" ); @@ -5220,7 +5220,7 @@ // ZZ> This function kinda mimics fprintf for the output of // MALE FEMALE OTHER statements - fprintf( filewrite, text ); + fprintf( filewrite, "%s", text ); switch ( gender ) { @@ -5240,7 +5240,7 @@ // damage/stat pairs RANGE rng; - fprintf( filewrite, text ); + fprintf( filewrite, "%s", text ); if ( undo_pair_fp8( ppair, &rng ) ) { fprintf( filewrite, "%4.2f-%4.2f\n", rng.ffrom, rng.fto );