]> Dogcows Code - chaz/openbox/blobdiff - otk_c/display.c
kill the printf
[chaz/openbox] / otk_c / display.c
index 3ce7f06b535c49d8b15968ab0980bb98bffe5959..c0cae13cb07f5c37cbdd9bc5db25c7ad170aee11 100644 (file)
@@ -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);
 }
 
This page took 0.022477 seconds and 4 git commands to generate.