[Libreoffice-commits] .: desktop/unx

Lubos Lunak llunak at kemper.freedesktop.org
Tue Jan 18 06:42:29 PST 2011


 desktop/unx/source/splashx.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0afc2989b53e23fc0c40c5236dcb8c3da1f0fcf7
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Jan 18 15:41:42 2011 +0100

    build with libpng 1.5.0 (fdo#33231)

diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 4e3a8bd..a4b9abd 100644
--- a/desktop/unx/source/splashx.c
+++ b/desktop/unx/source/splashx.c
@@ -137,8 +137,8 @@ int splash_load_bmp( const char *filename )
                   PNG_TRANSFORM_GRAY_TO_RGB | PNG_TRANSFORM_BGR, NULL);
 
     bitmap_rows = png_get_rows( png_ptr, info_ptr );
-    width = info_ptr->width;
-    height = info_ptr->height;
+    width = png_get_image_width( png_ptr, info_ptr );
+    height = png_get_image_height( png_ptr, info_ptr );
 
 #if 0
     {


More information about the Libreoffice-commits mailing list