patch 8.2.1537: memory acccess error when using setcellwidths()
Problem: Memory acccess error when using setcellwidths().
Solution: Use array and pointers correctly.
diff --git a/src/testdir/test_utf8.vim b/src/testdir/test_utf8.vim
index b2b7459..a1e97fd 100644
--- a/src/testdir/test_utf8.vim
+++ b/src/testdir/test_utf8.vim
@@ -148,8 +148,8 @@
func Test_setcellwidths()
call setcellwidths([
\ [0x1330, 0x1330, 2],
- \ [0x1337, 0x1339, 2],
\ [9999, 10000, 1],
+ \ [0x1337, 0x1339, 2],
\])
call assert_equal(2, strwidth("\u1330"))