I just converted from 3.11 to 3.40 and noticed a bug in one of the header files.
It declares the first parameter of the gflSaveBitmapW function as wchar_t *pwcFile instead of const wchar_t *pwcFile.
The problem is either one of two:
1.
You made a typo, and now we have to do an ugly cast to (wchar_t *).
2.
You didn't make a typo, and you actually ALTER the parameter. This would be disastrous for me because then you don't know how many bytes the buffer is. So, I REALLY hope it was a typo.
Please correct this, or at least tell us why this bug is in there.
BUG: gflSaveBitmapW
Moderators: XnTriq, helmut, xnview
-
- Posts: 94
- Joined: Wed Jan 24, 2007 3:59 pm
- Location: The Netherlands
BUG: gflSaveBitmapW
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
-
- Author of XnView
- Posts: 44917
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France