• Dylan Smith's avatar
    richedit: Handle missing colours in rtf colour table. · dde41d5c
    Dylan Smith authored
    When a colour table entry is empty, then the default colour is used.
    For an incomplete colour table entry 0 is used for the missing colours.
    
    Previously the -1 value used internally for missing colours was being
    converted into white, where it should be using the default colour that
    is normally black.
    
    This bug could be seen by loading the following rich text into wordpad:
    {\rtf{\colortbl;;}\cf1 text}
    dde41d5c
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...