width: fix table

Table was inadvertently check in with wrong version of trie
generator. As width leaves invalid UTF-8 alone, this change
has no effect.

Change-Id: Ief3c6ab203eb5b75376ab90af05d8d58227e1720
Reviewed-on: https://go-review.googlesource.com/17492
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
diff --git a/width/tables.go b/width/tables.go
index 7b7f0a9..82fe20d 100644
--- a/width/tables.go
+++ b/width/tables.go
@@ -38,7 +38,7 @@
 		i = widthIndex[o]
 		c2 := s[2]
 		if c2 < 0x80 || 0xC0 <= c2 {
-			return 0, 1 // Illegal UTF-8: not a continuation byte.
+			return 0, 2 // Illegal UTF-8: not a continuation byte.
 		}
 		return t.lookupValue(uint32(i), c2), 3
 	case c0 < 0xF8: // 4-byte UTF-8
@@ -54,13 +54,13 @@
 		i = widthIndex[o]
 		c2 := s[2]
 		if c2 < 0x80 || 0xC0 <= c2 {
-			return 0, 1 // Illegal UTF-8: not a continuation byte.
+			return 0, 2 // Illegal UTF-8: not a continuation byte.
 		}
 		o = uint32(i)<<6 + uint32(c2)
 		i = widthIndex[o]
 		c3 := s[3]
 		if c3 < 0x80 || 0xC0 <= c3 {
-			return 0, 1 // Illegal UTF-8: not a continuation byte.
+			return 0, 3 // Illegal UTF-8: not a continuation byte.
 		}
 		return t.lookupValue(uint32(i), c3), 4
 	}
@@ -123,7 +123,7 @@
 		i = widthIndex[o]
 		c2 := s[2]
 		if c2 < 0x80 || 0xC0 <= c2 {
-			return 0, 1 // Illegal UTF-8: not a continuation byte.
+			return 0, 2 // Illegal UTF-8: not a continuation byte.
 		}
 		return t.lookupValue(uint32(i), c2), 3
 	case c0 < 0xF8: // 4-byte UTF-8
@@ -139,13 +139,13 @@
 		i = widthIndex[o]
 		c2 := s[2]
 		if c2 < 0x80 || 0xC0 <= c2 {
-			return 0, 1 // Illegal UTF-8: not a continuation byte.
+			return 0, 2 // Illegal UTF-8: not a continuation byte.
 		}
 		o = uint32(i)<<6 + uint32(c2)
 		i = widthIndex[o]
 		c3 := s[3]
 		if c3 < 0x80 || 0xC0 <= c3 {
-			return 0, 1 // Illegal UTF-8: not a continuation byte.
+			return 0, 3 // Illegal UTF-8: not a continuation byte.
 		}
 		return t.lookupValue(uint32(i), c3), 4
 	}