Logo (Image): tidy

This commit is contained in:
Carter Li
2026-09-21 09:24:45 +08:00
parent eda38a37ba
commit b803d1ac82
+1 -1
View File
@@ -1246,7 +1246,7 @@ static uint32_t getKittyImageId(void) {
id ^= (uint32_t) getpid() * 2654435761u;
id ^= (uint32_t) ((uintptr_t) &id >> 4);
id &= 0xFFFFFF;
return id != 0 ? id : 1;
return id ?: 1;
}
// The envelope, per the kitty protocol: the root frame is transmitted with `a=T` and has no gap