diff options
Diffstat (limited to 'modules/core/os_akill.cpp')
-rw-r--r-- | modules/core/os_akill.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/core/os_akill.cpp b/modules/core/os_akill.cpp index 858b71bc1..973aaecda 100644 --- a/modules/core/os_akill.cpp +++ b/modules/core/os_akill.cpp @@ -34,6 +34,9 @@ class AkillDelCallback : public NumberList void HandleNumber(unsigned Number) { + if (!Number) + return; + XLine *x = SGLine->GetEntry(Number - 1); if (!x) @@ -69,6 +72,9 @@ class AkillListCallback : public NumberList void HandleNumber(unsigned Number) { + if (!Number) + return; + XLine *x = SGLine->GetEntry(Number - 1); if (!x) @@ -98,6 +104,9 @@ class AkillViewCallback : public AkillListCallback void HandleNumber(unsigned Number) { + if (!Number) + return; + XLine *x = SGLine->GetEntry(Number - 1); if (!x) |