Subject: | typo svNOK() <-> SvNOK() in GDChart_wrap.c |
Date: | Sun, 27 Jan 2008 22:36:10 +0100 |
To: | bug-GD-Chart [...] rt.cpan.org |
From: | Guenter Knauf <info [...] gknw.de> |
Hi Riachard,
it seems that there's a typo svNOK() <-> SvNOK() in GDChart_wrap.c
which only becomes visible when you compile with HAVE_LIBFREETYPE defined;
Here's a patch:
--- GDChart_wrap.c.orig Thu Feb 19 13:40:06 2004
+++ GDChart_wrap.c Sun Jan 27 21:15:52 2008
@@ -1086,7 +1086,7 @@
strcpy(GDC_annotation_font, a);
}
} else if(! strcmp("annotation_font_ptsize", key)) {
- if(svNOK(val))
+ if(SvNOK(val))
GDC_annotation_ptsize = (double)SvNV(val);
#endif
} else if(! strcmp("thumbnail", key)) {
@@ -1246,7 +1246,7 @@
strcpy(GDCPIE_label_font, a);
}
} else if(! strcmp("label_font_ptsize", key)) {
- if(svNOK(val))
+ if(SvNOK(val))
GDCPIE_label_ptsize = (double)SvNV(val);
#endif
} else if(! strcmp("label_font", key)) {
thanks, Guenter.