Commit d1848e4b authored by aroben's avatar aroben
Browse files

Fix one more BITMAPINFO/BITMAPINFOHEADER typo.

        Rubberstamped by Oliver.

        * platform/win/DragImageWin.cpp:
        (WebCore::allocImage):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 355136e1
2007-06-13 Adam Roben <aroben@apple.com>
Fix one more BITMAPINFO/BITMAPINFOHEADER typo.
Rubberstamped by Oliver.
* platform/win/DragImageWin.cpp:
(WebCore::allocImage):
2007-06-12 Oliver Hunt <oliver@apple.com>
 
Reviewed by Darin.
......@@ -56,7 +56,7 @@ HBITMAP allocImage(HDC dc, IntSize size, CGContextRef *targetRef)
{
HBITMAP hbmp;
BITMAPINFO bmpInfo = {0};
bmpInfo.bmiHeader.biSize = sizeof(BITMAPINFO);
bmpInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
bmpInfo.bmiHeader.biWidth = size.width();
bmpInfo.bmiHeader.biHeight = size.height();
bmpInfo.bmiHeader.biPlanes = 1;
......
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