/[packages]/cauldron/abiword/current/SOURCES/abiword-2.8.6-libpng1.5.patch
ViewVC logotype

Diff of /cauldron/abiword/current/SOURCES/abiword-2.8.6-libpng1.5.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 142645 by fwang, Mon Sep 12 09:26:33 2011 UTC revision 142646 by fwang, Mon Sep 12 10:10:43 2011 UTC
# Line 29  Line 29 
29          {          {
30                  /* Free all of the memory associated with the png_ptr and info_ptr */                  /* Free all of the memory associated with the png_ptr and info_ptr */
31                  png_destroy_write_struct(&m_pPNG, &m_pPNGInfo);                  png_destroy_write_struct(&m_pPNG, &m_pPNGInfo);
32    --- plugins/garble/xp/abiword-garble-png.cpp.libpng     2011-09-12 12:04:33.000000000 +0200
33    +++ plugins/garble/xp/abiword-garble-png.cpp    2011-09-12 12:09:38.000000000 +0200
34    @@ -79,7 +79,7 @@
35                    png_set_strip_alpha( png_ptr );
36                    png_set_interlace_handling( png_ptr );
37                    png_set_bgr( png_ptr );
38    -               rowbytes = info_ptr->rowbytes;
39    +               rowbytes = png_get_rowbytes(png_ptr, info_ptr);
40                    png_destroy_read_struct( &png_ptr, &info_ptr, NULL );
41            }
42    

Legend:
Removed from v.142645  
changed lines
  Added in v.142646

  ViewVC Help
Powered by ViewVC 1.1.30