Fully back out r302594 case 2) since overflow may happens.

This commit is contained in:
ache 2016-07-13 07:56:01 +00:00
parent 6ef685651b
commit 312bbd8095

View File

@ -266,7 +266,7 @@ endloop:
*/
s2.str = argv[1];
s2.state = NORMAL;
for (cnt = 0; cnt <= WINT_MAX; cnt++) {
for (cnt = 0; cnt < WINT_MAX; cnt++) {
if (Cflag && !iswrune(cnt))
continue;
if (cmap_lookup(map, cnt) == OOBCH) {