From: Dana Jansens Date: Sat, 21 Dec 2002 15:02:30 +0000 (+0000) Subject: so amateur X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=4c9bf6c9a1f2fb3531cec2917576f3d2364b4bf3;p=chaz%2Fopenbox so amateur --- diff --git a/otk_c/display.c b/otk_c/display.c index 081655e9..3ce7f06b 100644 --- a/otk_c/display.c +++ b/otk_c/display.c @@ -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); }