Ignore:
Timestamp:
Jun 15, 2008, 4:59:25 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Re-add the cx->torender trick to avoid crashing on filters. This really needs some architecture thinking.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/figlet.c

    r2414 r2419  
    6060static int flush_figlet(context_t *cx)
    6161{
    62     return cucul_flush_figlet(cx->cv);
     62    int ret = cucul_flush_figlet(cx->cv);
     63    cx->torender = cx->cv;
     64    cx->cv = cucul_create_canvas(0, 0);
     65    return ret;
    6366}
    6467
Note: See TracChangeset for help on using the changeset viewer.