Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 3bc1c55

Browse files
committed
Fixed: Invalid column index in TSPoint
1 parent 8b8c82d commit 3bc1c55

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
0 Bytes
Binary file not shown.

lib/utils.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobject _marshalPoint(JNIEnv* env, TSPoint point) {
164164
jobject javaObject = env->AllocObject(_pointClass);
165165

166166
env->SetIntField(javaObject, _pointRowField, point.row);
167-
env->SetIntField(javaObject, _pointColumnField, point.column);
167+
env->SetIntField(javaObject, _pointColumnField, point.column / 2);
168168
return javaObject;
169169
}
170170

0 commit comments

Comments
 (0)