From 3d1a4ec2393e23cc7c3e54a92750b4d0c0f0bcf4 Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Tue, 23 Nov 2010 14:35:41 +0100 Subject: stk: use bigger timeout in DisplayText When the wait for user confirmation bit is set. --- src/stk.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/stk.c b/src/stk.c index ac2e6468..88b162c1 100644 --- a/src/stk.c +++ b/src/stk.c @@ -1273,6 +1273,9 @@ static gboolean handle_command_display_text(const struct stk_command *cmd, return TRUE; } + if (qualifier & (1 << 7)) + timeout = stk->timeout * 1000; + if (dt->duration.interval) timeout = duration_to_msecs(&dt->duration); -- cgit v1.2.3