Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
eboard
eboard-1.1.1-png.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eboard-1.1.1-png.patch of Package eboard
--- eboard-1.1.1.orig/cimg.cc 2014-01-17 07:02:15.900632406 +0200 +++ eboard-1.1.1/cimg.cc 2014-01-17 11:37:44.617065034 +0200 @@ -94,11 +94,11 @@ CImg::CImg(const char *filename) { ct == PNG_COLOR_TYPE_GRAY_ALPHA) png_set_gray_to_rgb(pngp); - alloc(pngp->width,pngp->height); + alloc(png_get_image_width(pngp, infp),png_get_image_height(pngp, infp)); if (!ok) { fclose(f); return; } ok = 0; - for(i=0;i<pngp->height;i++) { + for(i=0;i<png_get_image_height(pngp, infp);i++) { png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor