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

[PATCH] RealizePalette should return GDI_ERROR not 0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:

      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

            • Assignee:
              ThePhysicist Timo Kreuzer
              Reporter:
              Maribo63_4 Maribo63_4
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: