mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
apprt/gtk: fix valid id check
This commit is contained in:
@ -509,7 +509,7 @@ fn isValidAppId(app_id: [:0]const u8) bool {
|
||||
switch (char) {
|
||||
'a'...'z', 'A'...'Z', '0'...'9', '_', '-' => {},
|
||||
'.' => hasDot = true,
|
||||
0 => return false,
|
||||
else => return false,
|
||||
}
|
||||
}
|
||||
if (!hasDot) return false;
|
||||
|
Reference in New Issue
Block a user