summaryrefslogtreecommitdiffstats
path: root/src/consts.ts
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2021-10-26 16:49:09 +0200
committerMaksymilian Jopek <maks@jopek.eu>2021-10-26 16:49:09 +0200
commitdbb66972ebd987f60e10939bfb4493f87bbc73c3 (patch)
treef951d36871d12089775e79a57c73855c21a2e72e /src/consts.ts
parent55d0e202677253ecf893bd52649871f10b52d3de (diff)
downloadisiqandisi-dbb66972ebd987f60e10939bfb4493f87bbc73c3.tar.gz
isiqandisi-dbb66972ebd987f60e10939bfb4493f87bbc73c3.tar.zst
isiqandisi-dbb66972ebd987f60e10939bfb4493f87bbc73c3.zip
Quick commit with sort-of working WYSiWYG and moving chit
Diffstat (limited to 'src/consts.ts')
-rw-r--r--src/consts.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/consts.ts b/src/consts.ts
index 401de7e..dd1d5d6 100644
--- a/src/consts.ts
+++ b/src/consts.ts
@@ -1,4 +1,6 @@
export let _zi = -2147483648;
export function zi() {
+ if (_zi + 1 > 2147483647)
+ _zi = -2147483648;
return (_zi++).toString();
}