Commit f0c4e4f56b3dceb60150e2500f5ad12e1043430b

Authored by Perry Werneck
1 parent 0e14822f
Exists in master and in 1 other branch develop

Updating API calls for the new version.

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
local/session.cc
... ... @@ -117,7 +117,7 @@
117 117  
118 118 std::lock_guard<std::mutex> lock(const_cast<Local::Session *>(this)->sync);
119 119  
120   - char * text = lib3270_get_text(hSession, baddr, len, lf);
  120 + char * text = lib3270_get_string_at_address(hSession, baddr, len, lf);
121 121  
122 122 if(!text) {
123 123 throw std::runtime_error( _("Can't get screen contents") );
... ... @@ -135,7 +135,7 @@
135 135  
136 136 std::lock_guard<std::mutex> lock(const_cast<Local::Session *>(this)->sync);
137 137  
138   - char * text = lib3270_get_text_at(hSession, row, col, sz, lf);
  138 + char * text = lib3270_get_string_at(hSession, row, col, sz, lf);
139 139  
140 140 if(!text) {
141 141 throw std::runtime_error( _("Can't get screen contents") );
... ...