mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +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) {
|
switch (char) {
|
||||||
'a'...'z', 'A'...'Z', '0'...'9', '_', '-' => {},
|
'a'...'z', 'A'...'Z', '0'...'9', '_', '-' => {},
|
||||||
'.' => hasDot = true,
|
'.' => hasDot = true,
|
||||||
0 => return false,
|
else => return false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!hasDot) return false;
|
if (!hasDot) return false;
|
||||||
|
Reference in New Issue
Block a user