Commit 01f8a2b9a80cd8d4cbe5cd6c2a6e11b1dfe1ddb9
1 parent
20c47c4f
Exists in
master
and in
5 other branches
Corrigindo posicionamento do cursor via hllapi
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/plugins/remotectl/remotectl.c
@@ -164,7 +164,7 @@ | @@ -164,7 +164,7 @@ | ||
164 | return ENOTCONN; | 164 | return ENOTCONN; |
165 | 165 | ||
166 | trace("%s: pos=%d row=%d col=%d",__FUNCTION__,rc,rc/80,rc%80); | 166 | trace("%s: pos=%d row=%d col=%d",__FUNCTION__,rc,rc/80,rc%80); |
167 | - lib3270_set_cursor_address(hSession,(int) rc); | 167 | + lib3270_set_cursor_address(hSession,((int) rc) -1); |
168 | return 0; | 168 | return 0; |
169 | } | 169 | } |
170 | 170 |