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

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

mercurial