Fixed coding of "display time" for Alcatel animations
authorshort <>
Mon, 14 Jan 2002 11:02:05 +0000 (11:02 +0000)
committershort <>
Mon, 14 Jan 2002 11:02:05 +0000 (11:02 +0000)
 - bugreported by Daniel Vesely <jude@atspraha.cz>

GSM/SMS/NBS/Alcatel.pm

index f09021a..91069d7 100644 (file)
@@ -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));