summaryrefslogtreecommitdiff
path: root/otk_c/display.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-21 19:54:15 +0000
committerDana Jansens <danakj@orodu.net>2002-12-21 19:54:15 +0000
commit065c6efa774ac144665f340f6c3578ab74e05c7b (patch)
tree80e8d61f5d14db5cf7f66fbe58cfcc126e052751 /otk_c/display.c
parent4c9bf6c9a1f2fb3531cec2917576f3d2364b4bf3 (diff)
otktimer works. imagecontrol is underway!
Diffstat (limited to 'otk_c/display.c')
-rw-r--r--otk_c/display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/otk_c/display.c b/otk_c/display.c
index 3ce7f06b..c0cae13c 100644
--- a/otk_c/display.c
+++ b/otk_c/display.c
@@ -148,6 +148,7 @@ void OtkDisplay_Ungrab(OtkDisplay *self)
OtkScreenInfo *OtkDisplay_ScreenInfo(OtkDisplay *self, int num)
{
+ assert(num >= 0);
return (OtkScreenInfo*)PyList_GetItem((PyObject*)self->screenInfoList, num);
}