diff options
Diffstat (limited to 'source/python/py_spoolss_printers_conv.c')
-rw-r--r-- | source/python/py_spoolss_printers_conv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/python/py_spoolss_printers_conv.c b/source/python/py_spoolss_printers_conv.c index e31babb0012..4ab030d9619 100644 --- a/source/python/py_spoolss_printers_conv.c +++ b/source/python/py_spoolss_printers_conv.c @@ -154,7 +154,7 @@ BOOL py_from_DEVICEMODE(PyObject **dict, DEVICEMODE *devmode) PyDict_SetItemString(*dict, "private", PyString_FromStringAndSize( - devmode->private, devmode->driverextra)); + devmode->dev_private, devmode->driverextra)); return True; } @@ -170,7 +170,7 @@ BOOL py_to_DEVICEMODE(DEVICEMODE *devmode, PyObject *dict) if (!PyString_Check(obj)) goto done; - devmode->private = PyString_AsString(obj); + devmode->dev_private = PyString_AsString(obj); devmode->driverextra = PyString_Size(obj); PyDict_DelItemString(dict_copy, "private"); |