From e175b5f4d80e4ce1971c1ef10fecdaeba3231d63 Mon Sep 17 00:00:00 2001 From: Kang Yu Date: Fri, 31 May 2024 12:46:39 -0700 Subject: [PATCH] #381 treat ~ as ` --- Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs b/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs index 635825f..68625df 100644 --- a/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs +++ b/Ninjacrab.PersistentWindows.Solution/SystrayShell/Program.cs @@ -529,7 +529,7 @@ namespace PersistentWindows.SystrayShell static public int SnapshotCharToId(char c) { - if (c == '`') + if (c == '`' || c == '~') return MaxSnapshots - 2; if (c < '0') return -1;