[ros-bugs] [Bug 2667] FF2 setup crashes

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Wed Oct 3 20:10:59 CEST 2007


http://www.reactos.org/bugzilla/show_bug.cgi?id=2667





--- Comment #3 from jimtabor <jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net>  2007-10-03 20:10:57 CET ---
dll/win32/user32/windows/messagebox.c
DWORD units = GetDialogBaseUnits();

dll/win32/user32/windows/dialog.c
/*
 * @implemented
 */
LONG
STDCALL
GetDialogBaseUnits(VOID)
{
    static DWORD units;

    if (!units)
    {
        HDC hdc;
        SIZE size;

        if ((hdc = GetDC(0)))
        {
            size.cx = GdiGetCharDimensions( hdc, NULL, &size.cy );
            if (size.cx) units = MAKELONG( size.cx, size.cy );
            ReleaseDC( 0, hdc );
        }
    }
    return units;
}

Well I can see how zero in units. Ugly wine port! What was I thinking?


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Ros-bugs mailing list