From: short <> Date: Mon, 14 Jan 2002 11:02:05 +0000 (+0000) Subject: Fixed coding of "display time" for Alcatel animations X-Git-Url: https://git.jankratochvil.net/?p=gsmperl.git;a=commitdiff_plain;h=a436f2b3b7277f07a037ff57205cfb1414fc6aae Fixed coding of "display time" for Alcatel animations - bugreported by Daniel Vesely --- diff --git a/GSM/SMS/NBS/Alcatel.pm b/GSM/SMS/NBS/Alcatel.pm index f09021a..91069d7 100644 --- a/GSM/SMS/NBS/Alcatel.pm +++ b/GSM/SMS/NBS/Alcatel.pm @@ -60,7 +60,7 @@ sub alcatel_animation { } push(@words,$imgs{$item}); } else { # "display time" here: - push(@words,min($item & 0x0FFF)); + push(@words,0xF000 | min($item,0x0FFF)); } } unshift(@words,scalar(@words));