Fix '-v' option

git-svn-id: svn://kolibrios.org@8393 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-12-13 14:33:14 +00:00
parent e52ed5b883
commit 751768c3c2

View File

@ -1785,7 +1785,7 @@ int handleArgs(int argc, char* argv[]) {
printHelp(); printHelp();
return -1; return -1;
} else if(strncmp("-v", argv[1], 2) == 0 || strncmp("--version", argv[1], 9) == 0) { } else if(strncmp("-v", argv[1], 2) == 0 || strncmp("--version", argv[1], 9) == 0) {
char* _notify_version = "'Version:\n"; char _notify_version[256] = "'Version:\n";
strcat(_notify_version, TTE_VERSION); strcat(_notify_version, TTE_VERSION);
strcat(_notify_version, "' -t -I"); strcat(_notify_version, "' -t -I");
/// printf("tte - version %s\n", TTE_VERSION); /// printf("tte - version %s\n", TTE_VERSION);