Skip to content
Snippets Groups Projects
Commit 7b36cca7 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't SetThreadName() in main()

On Linux, this changes the program name shown in top.
parent 31a17863
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4384 passed
......@@ -1527,7 +1527,6 @@ main(int argc, char **argv)
"syncterm-60-w-bitmap|SyncTERM 132x60 No Status Line,\n"
"\tcols#132,lines#60,use=syncterm-bitmap,\n";
SetThreadName("Main Thread");
if ((argc == 2) && (strcmp(argv[1], "-T") == 0)) {
write(STDOUT_FILENO, syncterm_termcap, strlen(syncterm_termcap));
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment