summaryrefslogtreecommitdiff
path: root/otk_c/screeninfo.c
diff options
context:
space:
mode:
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);
}