]> Dogcows Code - chaz/openbox/commitdiff
so amateur
authorDana Jansens <danakj@orodu.net>
Sat, 21 Dec 2002 15:02:30 +0000 (15:02 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 21 Dec 2002 15:02:30 +0000 (15:02 +0000)
otk_c/display.c

index 081655e9d8d9a5bc3619c69dcce35fcdfd1b3413..3ce7f06b535c49d8b15968ab0980bb98bffe5959 100644 (file)
@@ -1,4 +1,4 @@
-// -*- mode: C; indent-tabs-mode: nil; -*-
+// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 
 #include "../config.h"
 #include "display.h"
@@ -148,8 +148,7 @@ void OtkDisplay_Ungrab(OtkDisplay *self)
 
 OtkScreenInfo *OtkDisplay_ScreenInfo(OtkDisplay *self, int num)
 {
-  PyObject *py = PyList_GetItem((PyObject*)self->screenInfoList, num);
-  return (OtkScreenInfo*) py;
+  return (OtkScreenInfo*)PyList_GetItem((PyObject*)self->screenInfoList, num);
 }
 
 
This page took 0.025269 seconds and 4 git commands to generate.