remove spurious spaces & tabs at end of lines

This commit is contained in:
Philippe Teuwen committed 2019-03-09 08:59:13 +01:00
1 parent edc19f202a
commit 60f292b18e
249 files changed
+8481 -8481

No files matched your search

+2 -2
View File
@@ -63,7 +63,7 @@ bool endsWith(char* base, char* str) {
}
/**
* Generate a sorted list of available commands, what it does is
* Generate a sorted list of available commands, what it does is
* generate a file listing of the script-directory for files
* ending with .lua
*/
@@ -129,7 +129,7 @@ int CmdScriptRun(const char *Cmd) {
if (!endsWith(script_name, ".lua")) {
suffix = ".lua";
}
char script_path[strlen(get_my_executable_directory()) + strlen(LUA_SCRIPTS_DIRECTORY) + strlen(script_name) + strlen(suffix) + 1];
strcpy(script_path, get_my_executable_directory());
strcat(script_path, LUA_SCRIPTS_DIRECTORY);