Browse Source

* Compilation fix for systems (e.g. Darwin) where SLtt_Has_Alt_Charset does

not exist, courtesy of Ben Wiley Sittler.
tags/v0.99.beta14
Sam Hocevar sam 17 years ago
parent
commit
c9570afbbe
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      caca/driver_slang.c

+ 2
- 0
caca/driver_slang.c View File

@@ -159,9 +159,11 @@ static int slang_init_graphics(caca_display_t *dp)

slang_init_palette();

#if defined(VMS) || defined(REAL_UNIX_SYSTEM)
/* Disable alt charset support so that we get a chance to have all
* 256 colour pairs */
SLtt_Has_Alt_Charset = 0;
#endif

#ifdef HAVE_SLSMG_UTF8_ENABLE
SLsmg_utf8_enable(1); /* 1 == force, 0 == disable, -1 == autodetect */


Loading…
Cancel
Save