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

Fix TranslateAcceleratorA

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.3.17
    • None

    Description

      The current patch fixes:
      1) Dont use an unitialized pointer in RtlMultiByteToUnicodeN which now (should) lead to TranslateAcceleratorA return 0 and no message translated at all.
      2) Don't try to translate all the messages to Unicode if they are not char related(WM_KEYDOWN,WM_SYSKDOWN)
      3)Now set properly cChar so we can translate it to wChar and set it as the wParam of the message, which wasnt set (anyway, the code never reached this point).

      To sum up. A try to fix the whole API.

      Attachments

        1. accel.c.patch
          2 kB
          ThFabba
        2. accel.c.patch
          2 kB
          vicmarcal

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              vicmarcal vicmarcal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: