Slight refactor on the fix in the previous commit

Apply Leonard's patch for fixing the colors:

Fixed crashing problems: min and max had their logic inverted and Bytestream::read_string moved the cursor too early

Use stdint.h types for the bytestream

(0) -100 -30 -10 -4 +4 +10 +30 +100 tip

mercurial