fix...
This commit is contained in:
@@ -70,7 +70,6 @@ bool endsWith (char* base, char* str) {
|
|||||||
int CmdScriptList(const char *Cmd) {
|
int CmdScriptList(const char *Cmd) {
|
||||||
|
|
||||||
char const * exedir = get_my_executable_directory();
|
char const * exedir = get_my_executable_directory();
|
||||||
strcpy(script_directory_path, get_my_executable_directory());
|
|
||||||
if (exedir == NULL)
|
if (exedir == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
char script_directory_path[strlen(exedir) + strlen(LUA_SCRIPTS_DIRECTORY) + 1];
|
char script_directory_path[strlen(exedir) + strlen(LUA_SCRIPTS_DIRECTORY) + 1];
|
||||||
|
|||||||
Reference in New Issue
Block a user