diff options
Diffstat (limited to 'graphics/ayam/files/patch-objects_riproc.c')
-rw-r--r-- | graphics/ayam/files/patch-objects_riproc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/ayam/files/patch-objects_riproc.c b/graphics/ayam/files/patch-objects_riproc.c index 007d15fc3e6b..de06971ce900 100644 --- a/graphics/ayam/files/patch-objects_riproc.c +++ b/graphics/ayam/files/patch-objects_riproc.c @@ -1,11 +1,11 @@ ---- objects/riproc.c.orig 2007-12-17 18:41:21.000000000 +0100 -+++ objects/riproc.c 2007-12-17 18:41:58.000000000 +0100 -@@ -197,7 +197,7 @@ +--- objects/riproc.c.orig 2015-06-23 18:03:50 UTC ++++ objects/riproc.c +@@ -197,7 +197,7 @@ ay_riproc_setpropcb(Tcl_Interp *interp, char *n1 = "RiProcAttrData"; Tcl_Obj *to = NULL, *toa = NULL, *ton = NULL; ay_riproc_object *riproc = NULL; - char *result = NULL; + const char *result; - if(!o) + if(!interp || !o) return AY_ENULL; |