Ignore:
Timestamp:
Dec 31, 2003, 1:05:44 PM (19 years ago)
Author:
Sam Hocevar
Message:
  • src/caca.c: + Do not try the X11 driver if DISPLAY is set to the empty string.
  • examples/cacaview.c: + Cosmetic fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/caca.c

    r286 r291  
    408408#if defined(USE_X11)
    409409#if defined(HAVE_GETENV)
    410     if(getenv("DISPLAY"))
     410    if(getenv("DISPLAY") && *(getenv("DISPLAY")))
    411411#endif
    412412    {
Note: See TracChangeset for help on using the changeset viewer.