diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-01-18 15:41:42 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-01-18 15:42:23 +0100 |
commit | 2297f211848bd891c88445a24e3093b8470133f0 (patch) | |
tree | 09105ec82ba8e335071940e4270f0c4b01940d5d /desktop/unx/source/splashx.c | |
parent | 6418df5d4af7b1a1f6855c2720bb50739f967a73 (diff) |
build with libpng 1.5.0 (fdo#33231)
Diffstat (limited to 'desktop/unx/source/splashx.c')
-rw-r--r-- | desktop/unx/source/splashx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index 4e3a8bdddfdb..a4b9abd34468 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 { |