all repos — openbox @ 4c9bf6c9a1f2fb3531cec2917576f3d2364b4bf3

openbox fork - make it a bit more like ryudo

so amateur
Dana Jansens danakj@orodu.net
commit

4c9bf6c9a1f2fb3531cec2917576f3d2364b4bf3

parent

4b443976da29f3ef83b26d4e9df5e6bfe30945d3

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M otk_c/display.cotk_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 @@ }

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); }