Commits

Anonymous committed fde8ae9

a little better

Comments (0)

Files changed (1)

 	if (mbtowc(&wc, buf + *ind, nb) < 0)
 		warnx("failed multibyte to wide char conversion");
 	if ((nb = wcwidth(wc)) < 0) {
+		nb = 1;
 		//warnx("failed to find width of wide char");
 	}