Commit 6622e2557702ccd00e3194549d596463fb1c6b9a
1 parent
06dac4e2
Exists in
master
and in
3 other branches
Implementando metodos no plugin rexx
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
ctlr.c
@@ -443,6 +443,11 @@ LIB3270_EXPORT int lib3270_get_next_unprotected(H3270 *hSession, int baddr0) | @@ -443,6 +443,11 @@ LIB3270_EXPORT int lib3270_get_next_unprotected(H3270 *hSession, int baddr0) | ||
443 | { | 443 | { |
444 | register int baddr, nbaddr; | 444 | register int baddr, nbaddr; |
445 | 445 | ||
446 | + CHECK_SESSION_HANDLE(hSession); | ||
447 | + | ||
448 | + if(baddr0 < 0) | ||
449 | + baddr0 = hSession->cursor_addr; | ||
450 | + | ||
446 | nbaddr = baddr0; | 451 | nbaddr = baddr0; |
447 | do | 452 | do |
448 | { | 453 | { |