diff options
Diffstat (limited to 'games/gltron/files/patch-nebu__scripting__scritpting.c')
-rw-r--r-- | games/gltron/files/patch-nebu__scripting__scritpting.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games/gltron/files/patch-nebu__scripting__scritpting.c b/games/gltron/files/patch-nebu__scripting__scritpting.c new file mode 100644 index 000000000000..b3b9efd10faa --- /dev/null +++ b/games/gltron/files/patch-nebu__scripting__scritpting.c @@ -0,0 +1,22 @@ +--- nebu/scripting/scripting.c.orig Fri Dec 12 18:05:55 2003 ++++ nebu/scripting/scripting.c Mon Dec 15 22:43:04 2003 +@@ -169,16 +169,16 @@ + return status; + } + +-void scripting_RunFile(char *name) { ++void scripting_RunFile(const char *name) { + lua_dofile(L, name); + } + +-void scripting_Run(char *command) { ++void scripting_Run(const char *command) { + /* fprintf(stderr, "[command] %s\n", command); */ + lua_dostring(L, command); + } + +-void scripting_RunFormat(char *format, ... ) { ++void scripting_RunFormat(const char *format, ... ) { + char buf[4096]; + va_list ap; + va_start(ap, format); |