diff options
author | gennyble <gen@nyble.dev> | 2023-07-22 12:58:31 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2023-07-22 12:58:31 -0500 |
commit | 5187b4adab1ef6cbda32b892d517d57e05451276 (patch) | |
tree | cd0c7a358423e12605aeeada4aa8c6ff259b8f66 /gifprobe/src/main.rs | |
parent | 7bb866f0aa07e56013db68d7a50eb2cf0494960f (diff) | |
download | gifed-5187b4adab1ef6cbda32b892d517d57e05451276.tar.gz gifed-5187b4adab1ef6cbda32b892d517d57e05451276.zip |
use correct bytes for loop count
Diffstat (limited to 'gifprobe/src/main.rs')
-rw-r--r-- | gifprobe/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gifprobe/src/main.rs b/gifprobe/src/main.rs index 03d626f..64cee94 100644 --- a/gifprobe/src/main.rs +++ b/gifprobe/src/main.rs @@ -153,7 +153,7 @@ fn main() { if app_ident == "NETSCAPE" { let data = app.data(); - let looping = u16::from_le_bytes([data[0], data[1]]); + let looping = u16::from_le_bytes([data[1], data[2]]); if looping == 0 { println!("\tLoop {}", "forever".yellow()) |