[0.4.10][WIN32SS] Fix RLE4 bitmap decoding (#1188) CORE-10553
authorJoachim Henze <Joachim.Henze@reactos.org>
Wed, 26 Oct 2022 09:43:20 +0000 (11:43 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Wed, 26 Oct 2022 09:43:20 +0000 (11:43 +0200)
commite40aa947f5890c55e3eeeff6d0266fdb542b8948
tree0f63926c99da09724002a5722d502a522fea3134
parenta464e8074411345ce5d2352ae89dd87e1255fa64
[0.4.10][WIN32SS] Fix RLE4 bitmap decoding (#1188) CORE-10553

fix picked from 0.4.12-dev-189-g 968c8f37f14cf90fba994082274671b85f14764e

It fixes:
CORE-10553 'WinRar SFX have corrupted image'
CORE-11399 'Microsoft paint (from XPSP3) does not show bitmaps on the tools'

Please note, that MS mspaint.exe does not start in all older rls-branches yet for unrelated reasons,
it did start and render properly in releases/0.4.11, but does not start in releases/0.4.7 yet.
Still I marked the ticket CORE-11399 as resolved in all of them as that has nothing to do with the RLE stuff.
The WinRAR SFX worked properly in all of them.
win32ss/gdi/eng/rlecomp.c