nothings / stb-imv

Automatically exported from code.google.com/p/stb-imv
GNU General Public License v2.0
63 stars 23 forks source link

Disabling Show border leads to a crash #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open an image with imv
2. Press P to open preferences
3. Un-check "Show border" and press OK. The program crashes to the standard
windows crash dialog.

What version of the product are you using? On what operating system?
1.0 (w/GDI+)

Please provide any additional information below.
Border-toggling with keyboard shortcuts work fine. Only the toggling via
pref. dialog crashes.

(I don't actually care about disabling border, I'm just reporting the bug
because I happened to notice it.)

Original issue reported on code.google.com by jla...@gmail.com on 7 Oct 2009 at 12:41

GoogleCodeExporter commented 9 years ago

Original comment by nothings...@gmail.com on 7 Oct 2009 at 7:10

GoogleCodeExporter commented 9 years ago

Original comment by nothings...@gmail.com on 7 Oct 2009 at 7:11

GoogleCodeExporter commented 9 years ago

Original comment by nothings...@gmail.com on 7 Oct 2009 at 7:16

GoogleCodeExporter commented 9 years ago
imv.c, revision 99, on line 2081
memcpy(cur, alpha_background, 6);
cur should be curc

Original comment by yindian@gmail.com on 17 Jan 2012 at 1:47

GoogleCodeExporter commented 9 years ago
Thanks!

Fixed, and uploaded version 1.01 (with a few other changes).

Original comment by nothings...@gmail.com on 17 Jan 2012 at 2:23