Changeset 3913 for libcaca


Ignore:
Timestamp:
Nov 16, 2009, 2:30:53 PM (10 years ago)
Author:
Sam Hocevar
Message:

Fix an unlikely crash that may happen when the X server cannot open
the "fixed" font.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver/x11.c

    r3587 r3913  
    7575    XSetWindowAttributes x11_winattr;
    7676    int (*old_error_handler)(Display *, XErrorEvent *);
    77     char const *fonts[] = { NULL, "8x13bold", "fixed" }, **parser;
     77    char const *fonts[] = { NULL, "8x13bold", "fixed", NULL }, **parser;
    7878    char const *geometry;
    7979    int width = caca_get_canvas_width(dp->cv);
Note: See TracChangeset for help on using the changeset viewer.