summaryrefslogtreecommitdiff
path: root/otk_c/screeninfo.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-21 12:04:15 +0000
committerDana Jansens <danakj@orodu.net>2002-12-21 12:04:15 +0000
commit187e7db9c039d7369766aeae7dfdf87f191ac446 (patch)
tree6b46655512d45480aef7cc778e05c82c45aad91d /otk_c/screeninfo.c
parent59b65db2cac9f359dfcff3ab988e70eab053bdb4 (diff)
a color cache to be proud of!
Diffstat (limited to 'otk_c/screeninfo.c')
-rw-r--r--otk_c/screeninfo.c2
1 files changed, 1 insertions, 1 deletions
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);
}