Commit b201339
patch 9.1.1574: Dead code in mbyte.c
Problem: Dead code in mbyte.c
Solution: Delete the dead wcwidth()/iswprint() code
(Damien Lejay)
These library calls have been disabled since patch 6.2.446 (2002) due to
display issues with Hebrew. They are also non-portable: wcwidth() is a
POSIX function and not available on MSVC or other non-POSIX platforms.
Keeping this code path adds complexity without benefit.
closes: #17811
Signed-off-by: Damien Lejay <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>1 parent 1f6faff commit b201339
2 files changed
Lines changed: 3 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | 123 | | |
132 | 124 | | |
133 | 125 | | |
| |||
1593 | 1585 | | |
1594 | 1586 | | |
1595 | 1587 | | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
| 1588 | + | |
1601 | 1589 | | |
1602 | 1590 | | |
1603 | 1591 | | |
| |||
1607 | 1595 | | |
1608 | 1596 | | |
1609 | 1597 | | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
1619 | | - | |
1620 | | - | |
1621 | | - | |
1622 | | - | |
1623 | | - | |
1624 | 1598 | | |
1625 | 1599 | | |
1626 | 1600 | | |
1627 | 1601 | | |
1628 | | - | |
1629 | 1602 | | |
1630 | 1603 | | |
1631 | 1604 | | |
| |||
2712 | 2685 | | |
2713 | 2686 | | |
2714 | 2687 | | |
2715 | | - | |
2716 | | - | |
2717 | | - | |
2718 | | - | |
2719 | | - | |
2720 | | - | |
2721 | 2688 | | |
2722 | 2689 | | |
2723 | 2690 | | |
| |||
2728 | 2695 | | |
2729 | 2696 | | |
2730 | 2697 | | |
2731 | | - | |
2732 | 2698 | | |
2733 | 2699 | | |
2734 | 2700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
| 723 | + | |
722 | 724 | | |
723 | 725 | | |
724 | 726 | | |
| |||
0 commit comments