replaced hardcoded lua script and libs paths with defines, Atari build stack adjustments (reduced it's size to 8k)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1800 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
#include "graph.h"
|
||||
#include "filesel.h" // Read_list_of_drives()
|
||||
#include "realpath.h"
|
||||
|
||||
#include "setup.h"
|
||||
|
||||
/// Lua scripts bound to shortcut keys.
|
||||
char * Bound_script[10];
|
||||
@@ -1491,8 +1491,8 @@ void Run_script(const char *script_subdirectory, const char *script_filename)
|
||||
|
||||
strcpy(buf, "LUA_PATH=");
|
||||
strcat(buf, Data_directory);
|
||||
Append_path(buf+9, "scripts", NULL);
|
||||
Append_path(buf+9, "libs", NULL);
|
||||
Append_path(buf+9, SCRIPTS_SUBDIRECTORY, NULL);
|
||||
Append_path(buf+9, LUALIB_SUBDIRECTORY, NULL);
|
||||
Append_path(buf+9, "?.lua", NULL);
|
||||
putenv(buf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user