summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPiotr Pawłow <pp@siedziba.pl>2016-09-14 17:34:30 +0200
committerPiotr Pawłow <pp@siedziba.pl>2016-09-14 17:34:30 +0200
commita1b82b24506d2aa9a2202b158ad098c50d33cdfb (patch)
tree1bd34e1a02b445cdbb71221b1b79c5f7ac181bf4
parenta2f603174ce34359dde60b6227d138b5bf330503 (diff)
Port OnUpdateFontCacheSize.
-rw-r--r--php_imlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/php_imlib.c b/php_imlib.c
index e1a2828..d161bfa 100644
--- a/php_imlib.c
+++ b/php_imlib.c
@@ -207,7 +207,7 @@ zend_module_entry imlib_module_entry = {
PHP_INI_MH(OnUpdateFontCacheSize)
{
int size;
- if (sscanf(new_value,"%d",&size)==1)
+ if (sscanf(new_value->val,"%d",&size)==1)
{
imlib_set_font_cache_size(size);
return SUCCESS;