Ignore:
Timestamp:
Sep 18, 2013, 9:03:51 AM (7 years ago)
Author:
Sam Hocevar
Message:

fix: use the upcoming libcaca's canvas width and smushing mode features.

File:
1 edited

Legend:

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

    r4681 r4873  
    4949    cx->term_width = 80;
    5050
    51     cx->hmode = H_DEFAULT;
     51    cx->hmode = "default";
    5252
    5353    cx->filters = NULL;
     
    127127        }
    128128        case 's':
    129             cx->hmode = H_DEFAULT;
     129            cx->hmode = "default";
    130130            break;
    131131        case 'S':
    132             cx->hmode = H_SMUSH;
     132            cx->hmode = "smush";
    133133            break;
    134134        case 'k':
    135             cx->hmode = H_KERN;
     135            cx->hmode = "kern";
    136136            break;
    137137        case 'W':
    138             cx->hmode = H_NONE;
     138            cx->hmode = "none";
    139139            break;
    140140        case 'o':
    141             cx->hmode = H_OVERLAP;
     141            cx->hmode = "overlap";
    142142            break;
    143143        case 'E': /* --export */
Note: See TracChangeset for help on using the changeset viewer.