summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--command_line/CmdLine/Src/CLMain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/command_line/CmdLine/Src/CLMain.c b/command_line/CmdLine/Src/CLMain.c
index ef55b55..57df9fb 100644
--- a/command_line/CmdLine/Src/CLMain.c
+++ b/command_line/CmdLine/Src/CLMain.c
@@ -153,6 +153,8 @@ static Boolean special_stdout_base(Boolean pre, char *) {
}
}
+// TODO: special function goes here for license file
+
struct SpecialOption {
const char *optname;
char **argp;
@@ -239,6 +241,8 @@ int Main_Initialize(int argc, char **argv) {
Main_PreParse(&argc, &argv);
clState.argc = argc;
clState.argv = argv;
+
+ // TODO: this changes on windows
strcpyn(exename, argv[0], strlen(argv[0]), 256);
exename[255] = 0;