summaryrefslogtreecommitdiff
path: root/games/lbreakout2/files/patch-src_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/lbreakout2/files/patch-src_main.c')
-rw-r--r--games/lbreakout2/files/patch-src_main.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/games/lbreakout2/files/patch-src_main.c b/games/lbreakout2/files/patch-src_main.c
deleted file mode 100644
index b522496c09dd..000000000000
--- a/games/lbreakout2/files/patch-src_main.c
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- src/main.c.orig Tue Mar 2 21:31:52 2004
-+++ src/main.c Tue Mar 2 21:32:16 2004
-@@ -106,7 +106,7 @@
- /* new set? */
- if ( strequal( "<CREATE SET>", levelset_home_names[config.levelset_home_id] ) ) {
- editor_file = calloc( 16, sizeof( char ) );
-- sprintf( path, "%s/%s/lbreakout2-levels", getenv( "HOME" ), CONFIG_DIR_NAME );
-+ snprintf( path, sizeof(path), "%s/%s/lbreakout2-levels", getenv( "HOME" ), CONFIG_DIR_NAME );
- if ( !enter_string( font, "Set Name:", editor_file, 12 ) || !file_check( path, editor_file, "w" ) ) {
- free( editor_file );
- break;