Commit e7f50e8f authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #7848 with using SET_SYMBOL_VALUE in image.c

!!!DO NOT MERGE TO THE TRUNK!!!

 image.c (syms_of_image): Don't use SET_SYMBOL_VALUE.
parent 9f19b8dd
2011-01-16 Eli Zaretskii <eliz@gnu.org>
* image.c (syms_of_image): Don't use SET_SYMBOL_VALUE. (Bug#7848)
2011-01-15 Martin Rudalics <rudalics@gmx.at>
* window.c (inhibit_point_swap): New variable.
......
......@@ -8464,9 +8464,9 @@ non-numeric, there is no explicit limit on the size of images. */);
Qlibpng_version = intern_c_string ("libpng-version");
staticpro (&Qlibpng_version);
#if HAVE_PNG
SET_SYMBOL_VAL (XSYMBOL (Qlibpng_version), make_number (PNG_LIBPNG_VER));
XSYMBOL (Qlibpng_version)->value = make_number (PNG_LIBPNG_VER);
#else
SET_SYMBOL_VAL (XSYMBOL (Qlibpng_version), make_number (-1));
XSYMBOL (Qlibpng_version)->value = make_number (-1));
#endif
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment