瀏覽代碼

slang driver: enable utf8 auto-detection

The slang internal auto-detection of utf8 is only executed by a call to
SLutf8_enable(-1).
tags/v0.99.beta20
Bastian Maerkisch 7 年之前
父節點
當前提交
68b9dcac92
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      caca/driver/slang.c

+ 1
- 0
caca/driver/slang.c 查看文件

@@ -178,6 +178,7 @@ static int slang_init_graphics(caca_display_t *dp)
#endif

#ifdef HAVE_SLSMG_UTF8_ENABLE
SLutf8_enable(-1); /* execute utf8 autodetection */
SLsmg_utf8_enable(1); /* 1 == force, 0 == disable, -1 == autodetect */
SLtt_utf8_enable(-1);
#endif


Loading…
取消
儲存