Commit 664bf35c7d0df97ed3c75980be74701b4627cb2d
1 parent
b13018e6
Exists in
master
Corrigindo erro no encerramento do timer pela estrutura de sessao
Showing
2 changed files
with
7 additions
and
3 deletions
Show diff stats
latest/src/lib/ctlr.c
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | * programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple |
19 | 19 | * Place, Suite 330, Boston, MA, 02111-1307, USA |
20 | 20 | * |
21 | - * Este programa está nomeado como ctlr.c e possui 2827 linhas de código. | |
21 | + * Este programa está nomeado como ctlr.c e possui - linhas de código. | |
22 | 22 | * |
23 | 23 | * Contatos: |
24 | 24 | * |
... | ... | @@ -2773,7 +2773,7 @@ void ticking_start(H3270 *session, Boolean anyway) |
2773 | 2773 | if(session->set_timer) |
2774 | 2774 | { |
2775 | 2775 | if(toggled(SHOW_TIMING) || anyway) |
2776 | - session->set_timer(session,-1); | |
2776 | + session->set_timer(session,1); | |
2777 | 2777 | } |
2778 | 2778 | else |
2779 | 2779 | { |
... | ... | @@ -2783,6 +2783,7 @@ void ticking_start(H3270 *session, Boolean anyway) |
2783 | 2783 | |
2784 | 2784 | if (!toggled(SHOW_TIMING) && !anyway) |
2785 | 2785 | return; |
2786 | + | |
2786 | 2787 | status_untiming(session); |
2787 | 2788 | if (ticking) |
2788 | 2789 | RemoveTimeOut(tick_id); |
... | ... | @@ -2823,7 +2824,7 @@ void |
2823 | 2824 | toggle_showTiming(struct toggle *t unused, enum toggle_type tt unused) |
2824 | 2825 | { |
2825 | 2826 | if (!toggled(SHOW_TIMING)) |
2826 | - status_untiming(NULL); | |
2827 | + status_untiming(&h3270); | |
2827 | 2828 | } |
2828 | 2829 | |
2829 | 2830 | ... | ... |
latest/src/lib/screen.c