diff --git a/src/include/lib3270.h b/src/include/lib3270.h index 41b7a2c..69497ca 100644 --- a/src/include/lib3270.h +++ b/src/include/lib3270.h @@ -421,7 +421,7 @@ */ LIB3270_EXPORT int lib3270_get_height(H3270 *h); - LIB3270_EXPORT unsigned int lib3270_get_length(H3270 *h); + LIB3270_EXPORT int lib3270_get_length(H3270 *h); /** * @brief Creates an empty TN3270 session. diff --git a/src/lib3270/properties.c b/src/lib3270/properties.c index 8b0b0b1..68afdfe 100644 --- a/src/lib3270/properties.c +++ b/src/lib3270/properties.c @@ -142,6 +142,22 @@ NULL // Set value. }, + /* + { + "", // Property name. + N_( "" ), // Property description. + NULL, // Get value. + NULL // Set value. + }, + */ + + { + NULL, + NULL, + NULL, + NULL + } + }; return properties; diff --git a/src/lib3270/screen.c b/src/lib3270/screen.c index bfa4a4a..779752c 100644 --- a/src/lib3270/screen.c +++ b/src/lib3270/screen.c @@ -217,7 +217,7 @@ static unsigned short calc_attrs(H3270 *session, int baddr, int fa_addr, int fa) return a; } -LIB3270_EXPORT unsigned int lib3270_get_length(H3270 *h) +LIB3270_EXPORT int lib3270_get_length(H3270 *h) { CHECK_SESSION_HANDLE(h); return h->rows * h->cols; -- libgit2 0.21.2