瀏覽代碼

* Print '?' for Unicode characters in the ANSI export. We'll decide later

whether we want plain ASCII, UTF-8, or CP437.
tags/v0.99.beta14
Sam Hocevar sam 18 年之前
父節點
當前提交
43e1514520
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      cucul/export.c

+ 1
- 1
cucul/export.c 查看文件

@@ -222,7 +222,7 @@ static void export_ansi(cucul_canvas_t *cv, cucul_buffer_t *ex)
fg - 8, bg - 8, fg - 8, bg - 8);
}

*cur++ = ch & 0x7f;
*cur++ = (ch >= 0x20 && ch < 0x7f) ? ch : '?';

prevfg = fg;
prevbg = bg;


Loading…
取消
儲存