diff options
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index d1a0bb3..05c2ea4 100644 --- a/src/main.zig +++ b/src/main.zig | |||
| @@ -52,7 +52,7 @@ pub fn main() !void { | |||
| 52 | // while (iter.next()) |_| result += 1; | 52 | // while (iter.next()) |_| result += 1; |
| 53 | // while (iter.next()) |line| result += strWidth(line, &data); | 53 | // while (iter.next()) |line| result += strWidth(line, &data); |
| 54 | while (iter.next()) |line| { | 54 | while (iter.next()) |line| { |
| 55 | var nfc = try n.nfd(allocator, line); | 55 | var nfc = try n.nfc(allocator, line); |
| 56 | result += nfc.slice.len; | 56 | result += nfc.slice.len; |
| 57 | nfc.deinit(); | 57 | nfc.deinit(); |
| 58 | } | 58 | } |