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

ImmGetRegisterWordStyleA() makes a confused call about MB_PRECOMPOSED

    XMLWordPrintable

Details

    Description

      MB_PRECOMPOSED is a flag for MultiByteToWideChar(), not WideCharToMultiByte().

      It looks like either the function or the parameter is wrong...

      -

      https://git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=grep&s=MB_PRECOMPOSED

      win32ss/user/imm32/regword.c	
       260             cchA = WideCharToMultiByte(pImeDpi->uCodePage, MB_PRECOMPOSED,
       323             cchW = MultiByteToWideChar(pImeDpi->uCodePage, MB_PRECOMPOSED,
      

      Attachments

        Issue Links

          Activity

            People

              katayama_hirofumi_mz Katayama Hirofumi MZ
              Serge Gautherie Serge Gautherie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: