Commit cd0f450e7fab0ed9427f4a91a3dffd8cd4406d03
1 parent
042923b1
Exists in
master
and in
5 other branches
Removendo bloco de código sem uso.
Showing
2 changed files
with
2 additions
and
25 deletions
Show diff stats
locale/pw3270.pot
| ... | ... | @@ -9,7 +9,7 @@ msgstr "" |
| 9 | 9 | "#-#-#-#-# lib3270.pot (PACKAGE VERSION) #-#-#-#-#\n" |
| 10 | 10 | "Project-Id-Version: PACKAGE VERSION\n" |
| 11 | 11 | "Report-Msgid-Bugs-To: \n" |
| 12 | -"POT-Creation-Date: 2017-08-09 10:17-0300\n" | |
| 12 | +"POT-Creation-Date: 2017-08-09 10:33-0300\n" | |
| 13 | 13 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 14 | 14 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 15 | 15 | "Language-Team: LANGUAGE <LL@li.org>\n" |
| ... | ... | @@ -20,7 +20,7 @@ msgstr "" |
| 20 | 20 | "#-#-#-#-# pw3270.pot (PACKAGE VERSION) #-#-#-#-#\n" |
| 21 | 21 | "Project-Id-Version: PACKAGE VERSION\n" |
| 22 | 22 | "Report-Msgid-Bugs-To: \n" |
| 23 | -"POT-Creation-Date: 2017-08-09 10:17-0300\n" | |
| 23 | +"POT-Creation-Date: 2017-08-09 10:33-0300\n" | |
| 24 | 24 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 25 | 25 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 26 | 26 | "Language-Team: LANGUAGE <LL@li.org>\n" | ... | ... |
src/plugins/hllapi/calls.cc
| ... | ... | @@ -231,31 +231,8 @@ |
| 231 | 231 | HLLAPI_API_CALL hllapi_find_text(LPSTR text) |
| 232 | 232 | { |
| 233 | 233 | return (int) session::get_default()->find_string((const char *) text, false); |
| 234 | - | |
| 235 | - /* | |
| 236 | - int rc = 0; | |
| 237 | - | |
| 238 | - try | |
| 239 | - { | |
| 240 | - size_t pos = session::get_default()->get_contents(true).find((const char *) text); | |
| 241 | - | |
| 242 | - if(pos != string::npos) { | |
| 243 | - rc = ((int) pos) + 1; | |
| 244 | - } | |
| 245 | - | |
| 246 | - } | |
| 247 | - catch(std::exception &e) | |
| 248 | - { | |
| 249 | - rc = 0; | |
| 250 | - } | |
| 251 | - | |
| 252 | - return rc; | |
| 253 | - */ | |
| 254 | 234 | } |
| 255 | 235 | |
| 256 | - | |
| 257 | - | |
| 258 | - | |
| 259 | 236 | HLLAPI_API_CALL hllapi_set_unlock_delay(WORD ms) |
| 260 | 237 | { |
| 261 | 238 | session::get_default()->set_unlock_delay(ms); | ... | ... |