#296, fix crash due to missing string length checking

This commit is contained in:
Kang Yu 2024-02-16 01:33:15 -08:00
parent 97e68e11b7
commit e53c824398

View file

@ -680,7 +680,7 @@ namespace PersistentWindows.SystrayShell
{
commandline = line.Substring(14);
}
else
else if (line.Length > 14)
{
commandline += line.Substring(14);
}