Browse Source

figfont: stick the source canvas's width, if specified.

tags/v0.99.beta18
Sam Hocevar sam 12 years ago
parent
commit
89670f0598
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      caca/figfont.c

+ 1
- 1
caca/figfont.c View File

@@ -76,7 +76,7 @@ int caca_canvas_set_figfont(caca_canvas_t *cv, char const *path)
return 0;

/* from TOIlet’s main.c */
ff->term_width = 80;
ff->term_width = cv->width > 0 ? cv->width : 80;
ff->hmode = H_DEFAULT;

/* from TOIlet’s render.c */


Loading…
Cancel
Save