Fix for highlight recovery

Fix for crash in raw tab
This commit is contained in:
ffsup2
2010-10-31 23:48:09 +01:00
parent 9939f4fe62
commit 3df7523bfb
2 changed files with 4 additions and 3 deletions

View File

@@ -829,7 +829,7 @@ skip_block: ;
if (dmax < pre_mul[c])
dmax = pre_mul[c];
}
dmax = dmin;
for (c = 0; c < 4; c++)
scale_mul[c] = (pre_mul[c] /= dmax) * 65535.0 / sat;
if (settings->verbose) {