forked from pool/ghostscript
Ghostscript version upgrade to 9.21 OBS-URL: https://build.opensuse.org/request/show/487561 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=76
20 lines
951 B
Diff
20 lines
951 B
Diff
--- psi/iparam.c.orig 2017-03-16 11:12:02.000000000 +0100
|
|
+++ psi/iparam.c 2017-04-12 11:42:57.000000000 +0200
|
|
@@ -770,12 +770,13 @@ ref_param_read_typed(gs_param_list * pli
|
|
gs_param_enumerator_t enumr;
|
|
gs_param_key_t key;
|
|
ref_type keytype;
|
|
+ dict_param_list *dlist = (dict_param_list *) pvalue->value.d.list;
|
|
|
|
param_init_enumerator(&enumr);
|
|
- if (!(*((iparam_list *) plist)->enumerate)
|
|
- ((iparam_list *) pvalue->value.d.list, &enumr, &key, &keytype)
|
|
+ if (!(*(dlist->enumerate))
|
|
+ ((iparam_list *) dlist, &enumr, &key, &keytype)
|
|
&& keytype == t_integer) {
|
|
- ((dict_param_list *) pvalue->value.d.list)->int_keys = 1;
|
|
+ dlist->int_keys = 1;
|
|
pvalue->type = gs_param_type_dict_int_keys;
|
|
}
|
|
}
|