X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk_c%2Fscreeninfo.c;h=3d253d1b81cbfcd22716b96ce415fa68ddcef3c6;hb=187e7db9c039d7369766aeae7dfdf87f191ac446;hp=fb0de49822035b9be5ff323f5b02218084c301b4;hpb=79ce13073b82b5144b114fc388d0be53835957a8;p=chaz%2Fopenbox diff --git a/otk_c/screeninfo.c b/otk_c/screeninfo.c index fb0de498..3d253d1b 100644 --- a/otk_c/screeninfo.c +++ b/otk_c/screeninfo.c @@ -85,7 +85,7 @@ PyObject *OtkScreenInfo_New(int num) if (dstr2) { PyObject *str; - PyString_Resize(self->display_string, dstr2 - dstr); + _PyString_Resize(&self->display_string, dstr2 - dstr); str = PyString_FromFormat(".%d", self->screen); PyString_Concat(&self->display_string, str); }