• Dylan Smith's avatar
    richedit: Fixed bug preventing bold from being set with EM_SETCHARFORMAT. · cb1d7bec
    Dylan Smith authored
    Previously bold needed to be set by setting CFM_WEIGHT in the
    CHARFORMAT2 structure, and then setting the appropriate wWeight value.
    This approach isn't even supported in version 3.0 of the richedit
    control. Now bold can be set/unset properly for Windows or Wine using
    CFE_BOLD in dwEffects and with CFM_BOLD set in the dwMask flag.
    cb1d7bec
style.c 15.8 KB