Fixed issues with console titles not working correctly
This commit is contained in:
@ -1090,6 +1090,8 @@ struct vconsole* newconsole(char* title, int bgpreset)
|
||||
|
||||
if (strlen(title) > 0)
|
||||
{
|
||||
// Clear any text in the proc title incase this was a pre used console
|
||||
memset(consoles[i].proctitle, 0, sizeof(consoles[i].proctitle[0]) * sizeof(consoles[i].proctitle));
|
||||
safestrcpy(consoles[i].proctitle, title, sizeof(consoles[i].proctitle));
|
||||
consoles[i].titlelocked = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user