Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-8350

[PATCH] RealizePalette should return GDI_ERROR not 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 0.4.0
    • None

    Description

      according to http://msdn.microsoft.com/de-de/library/windows/desktop/dd162896(v=vs.85).aspx
      RealizePalette returns GDI_ERROR on failure. In ReactOS it returns 0.
      Corrected the if-Statement in painting.c from "!= 0" to "> 0"

      Attachments

        Activity

          People

            ThePhysicist Timo Kreuzer
            Maribo63_4 BUGinator86
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: