diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-11-10 16:54:02 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-11-10 16:54:02 +0100 |
commit | db605e7bc8df3a88f65c8e0510d3f80bdfa6ea10 (patch) | |
tree | ca2e340665f4a9685a3b926f0809cd20a076beb3 /sys/src/libdraw | |
parent | a11501b24fc7735910157562a667e34db00202d6 (diff) |
libdraw: dont abort() on failed allocimage in fontresize()
Diffstat (limited to 'sys/src/libdraw')
-rw-r--r-- | sys/src/libdraw/font.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/libdraw/font.c b/sys/src/libdraw/font.c index 2a74cc9c2..22ef0840b 100644 --- a/sys/src/libdraw/font.c +++ b/sys/src/libdraw/font.c @@ -365,7 +365,6 @@ fontresize(Font *f, int wid, int ncache, int depth) new = allocimage(d, Rect(0, 0, ncache*wid, f->height), CHAN1(CGrey, depth), 0, 0); if(new == nil){ fprint(2, "font cache resize failed: %r\n"); - abort(); goto Return; } flushimage(d, 0); /* flush any pending errors */ |