wrap vpos instead of resetting to 0 on max

This commit is contained in:
Ahmet Inan 2015-01-02 12:25:54 +01:00
parent 7a33c225bd
commit 15b364fe72

View file

@ -228,7 +228,7 @@ void decode(int samples) {
if (vpos >= bitmap_height)
save_buffer();
if (vpos >= maximum_height)
vpos = 0;
vpos -= maximum_height;
seperator_counter = 0;
}
}