Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 47675 | Differences between
and this patch

Collapse All | Expand All

(-)slang-1.4.5/src/slsmg.c.jj (-1 / +3 lines)
Lines 378-385 void SLsmg_write_nwchars (wchar_t *str, Link Here
378
  for (i = 0; i < n; i++, str) {
378
  for (i = 0; i < n; i++, str) {
379
    ch = *str++;
379
    ch = *str++;
380
#ifndef IBMPC_SYSTEM
380
#ifndef IBMPC_SYSTEM
381
    if (alt_char_set_flag)
381
    if (alt_char_set_flag) {
382
      ch = Alt_Char_Set[ch & 0x7F];
382
      ch = Alt_Char_Set[ch & 0x7F];
383
      w = 1;
384
    } else
383
#endif
385
#endif
384
    w = wcwidth(ch);
386
    w = wcwidth(ch);
385
387
(-)slang-1.4.5/src/sldisply.c.jj (+11 lines)
Lines 1498-1503 static void write_wstring_with_care (SLs Link Here
1498
	  }
1498
	  }
1499
     }
1499
     }
1500
1500
1501
   if (Current_Fgbg & SLTT_ALTC_MASK)
1502
     {
1503
	char c;
1504
	while (len--)
1505
	  {
1506
	     c = *str++;
1507
	     tt_write(&c, 1);
1508
	  }
1509
	return;
1510
     }
1511
1501
   memset (&mbstate, 0, sizeof (mbstate));
1512
   memset (&mbstate, 0, sizeof (mbstate));
1502
   while (len--)
1513
   while (len--)
1503
     {
1514
     {

Return to bug 47675