[PATCH] riched20: Implement set all caps(Ctrl+Shift+A) shortcut key.

Nikolay Sivov bunglehead at gmail.com
Mon Sep 14 04:31:41 CDT 2015


On 14.09.2015 12:25, Jactry Zeng wrote:
> +              for (i = 0; i < len; i++)
> +              {
> +                  WCHAR tmp = bufferW[i];
> +
> +                  if (isalphaW(tmp))
> +                  {
> +                      if (editor->bCaps)
> +                          bufferW[i] = toupperW(tmp);
> +                      else
> +                          bufferW[i] = tolowerW(tmp);
> +                  }
> +              }

Hi, won't struprW/strlwrW work here? I don't see why isalphaW check is 
important.



More information about the wine-devel mailing list