[Digikam-devel] [Bug 276096] PGF images not shown if zoom is set to 100%

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Jul 13 08:08:33 BST 2011


https://bugs.kde.org/show_bug.cgi?id=276096





--- Comment #24 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-13 07:08:33 ---
> > memset(data, sizeof(data), 0xFF);
> But for pgfloader, should it not be memset(data, 0xFF,
> width*height*(m_sixteenBit ? 8 : 4)) ?

Here we have the 0x4:
We set the first 0xFF bytes to the value of sizeof(data), which is 4 ;-)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list