Commits

Evan Gates  committed fde8ae9

a little better

  • Participants
  • Parent commits 03e4ff3
  • Branches utf8

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");
 	}