Changeset 610 for libcaca/trunk/caca
- Timestamp:
- Mar 15, 2006, 10:57:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/driver_slang.c
r579 r610 162 162 SLtt_Has_Alt_Charset = 0; 163 163 164 #ifdef HAVE_SLSMG_UTF8_ENABLE 164 165 SLsmg_utf8_enable(1); /* 1 == force, 0 == disable, -1 == autodetect */ 165 166 SLtt_utf8_enable(1); 167 #endif 166 168 167 169 _cucul_set_size(kk->qq, SLtt_Screen_Cols, SLtt_Screen_Rows); … … 391 393 } 392 394 395 #ifdef HAVE_SLSMG_UTF8_ENABLE 393 396 bytes = (c < 0x800) ? 2 : (c < 0x10000) ? 3 : 4; 394 397 buf[bytes] = '\0'; … … 404 407 405 408 SLsmg_write_string(buf); 409 #else 410 SLsmg_write_char(' '); 411 #endif 406 412 } 407 413 … … 411 417 sigwinch_kk->resize.resized = 1; 412 418 413 signal(SIGWINCH, sigwinch_handler); ;419 signal(SIGWINCH, sigwinch_handler); 414 420 } 415 421 #endif
Note: See TracChangeset
for help on using the changeset viewer.