summaryrefslogtreecommitdiff
path: root/sys/src/libdraw/drawrepl.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-03-02 11:01:12 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-03-02 11:01:12 +0100
commit2259f3fb9aebb2973ee2d892bec944f177a41c64 (patch)
tree79dce66d2ebc573ae4e29468ae7d63cc5317da3f /sys/src/libdraw/drawrepl.c
parentfc1ff7705b339d480f15fa934c7df215158c1901 (diff)
libdraw: font->display->defaultsubfont vs. display->defaultsubfont, dead code, malloc erros
it is possible to have fonts belong to different or no display, so the check for defaultsubfont has to be against font->display, not the global display variable. remove unused freeup() routine. handle strdup() error in allocsubfont() and realloc() error in buildfont().
Diffstat (limited to 'sys/src/libdraw/drawrepl.c')
0 files changed, 0 insertions, 0 deletions