Verified Commit 70b8c095 authored by Thomas Bernard's avatar Thomas Bernard 💬

contrib/win_dib/tiff2dib: fix Uninitialized variable: lpBits

fixes #52
parent dce4bb0d
......@@ -106,6 +106,8 @@ HDIB LoadTIFFinDIB(LPSTR lpFileName)
if (lpDIB)
lpBits = FindDIBBits((LPSTR) lpDIB);
lpBits = NULL;
//In the tiff file the lines are save from up to down
//In a DIB the lines must be save from down to up
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment