diff options
author | Uwe Steinmann <steinm@php.net> | 2000-06-07 20:01:12 +0000 |
---|---|---|
committer | Uwe Steinmann <steinm@php.net> | 2000-06-07 20:01:12 +0000 |
commit | 467b5e489264f2432edd332022d64915e8c3cf49 (patch) | |
tree | ed02cbfdf6d3fc2da0b31f3bbbd4597e388e0612 | |
parent | 169606602b6990d21db687b8bcf854b353913ce3 (diff) | |
download | php-git-467b5e489264f2432edd332022d64915e8c3cf49.tar.gz |
- fixed compilation error
-rw-r--r-- | ext/pdf/pdf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index a24083d5c7..d461b1d68b 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -720,7 +720,7 @@ PHP_FUNCTION(pdf_get_font) { RETURN_FALSE; } - font = (int) PDF_get_value(pdf, "font"); + font = (int) PDF_get_value(pdf, "font", 0); RETURN_LONG(font); } @@ -747,7 +747,7 @@ PHP_FUNCTION(pdf_get_fontname) { RETURN_FALSE; } - fontname = (char *) PDF_get_parameter(pdf, "fontname"); + fontname = (char *) PDF_get_parameter(pdf, "fontname", 0); RETURN_STRING(fontname, 1); } @@ -774,7 +774,7 @@ PHP_FUNCTION(pdf_get_fontsize) { RETURN_FALSE; } - fontsize = PDF_get_value(pdf, "fontsize"); + fontsize = PDF_get_value(pdf, "fontsize", 0); RETURN_DOUBLE(fontsize); } |