From 187e7db9c039d7369766aeae7dfdf87f191ac446 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Dec 2002 12:04:15 +0000 Subject: a color cache to be proud of! --- otk_c/screeninfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otk_c/screeninfo.c') 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); } -- cgit v1.2.3