Commit e363cd791bba38bbd74c97a0731c6bb0351c57cc
1 parent
aa558fcc
Exists in
master
and in
5 other branches
Tratamento da tecla alt não funciona muito bem no windows, desativando
Showing
4 changed files
with
9 additions
and
2 deletions
Show diff stats
po/pt_BR.po
... | ... | @@ -5,7 +5,7 @@ msgid "" |
5 | 5 | msgstr "" |
6 | 6 | "Project-Id-Version: pw3270 5.0\n" |
7 | 7 | "Report-Msgid-Bugs-To: \n" |
8 | -"POT-Creation-Date: 2013-06-05 12:30-0300\n" | |
8 | +"POT-Creation-Date: 2013-06-05 12:32-0300\n" | |
9 | 9 | "PO-Revision-Date: 2013-05-08 14:30-0300\n" |
10 | 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" |
11 | 11 | "Language-Team: Português <>\n" | ... | ... |
src/pw3270/v3270/keyboard.c
... | ... | @@ -107,6 +107,7 @@ |
107 | 107 | v3270_draw_shift_status(terminal); |
108 | 108 | } |
109 | 109 | |
110 | +#ifdef KEY_FLAG_ALT | |
110 | 111 | if(keyval_is_alt()) |
111 | 112 | { |
112 | 113 | if(status) |
... | ... | @@ -115,6 +116,7 @@ |
115 | 116 | terminal->keyflags &= ~KEY_FLAG_ALT; |
116 | 117 | v3270_draw_alt_status(terminal); |
117 | 118 | } |
119 | +#endif // KEY_FLAG_ALT | |
118 | 120 | |
119 | 121 | } |
120 | 122 | ... | ... |
src/pw3270/v3270/oia.c
... | ... | @@ -887,7 +887,9 @@ static void update_text_field(v3270 *terminal, gboolean flag, V3270_OIA_FIELD id |
887 | 887 | |
888 | 888 | void v3270_draw_alt_status(v3270 *terminal) |
889 | 889 | { |
890 | +#ifdef KEY_FLAG_ALT | |
890 | 891 | update_text_field(terminal,terminal->keyflags & KEY_FLAG_ALT,V3270_OIA_ALT,'A'); |
892 | +#endif // KEY_FLAG_ALT | |
891 | 893 | } |
892 | 894 | |
893 | 895 | void v3270_draw_ins_status(v3270 *terminal) | ... | ... |
src/pw3270/v3270/private.h