Browse Source

Fix type-based colorization of snapshot slots in debug output.

Mike Pall 14 years ago
parent
commit
70071241bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/dump.lua

+ 1 - 1
lib/dump.lua

@@ -307,7 +307,7 @@ local function printsnap(tr, snap)
 	out:write(formatk(tr, ref))
 	out:write(formatk(tr, ref))
       else
       else
 	local m, ot, op1, op2 = traceir(tr, ref)
 	local m, ot, op1, op2 = traceir(tr, ref)
-	out:write(colorize(format("%04d", ref), band(ot, 15)))
+	out:write(colorize(format("%04d", ref), band(ot, 31)))
       end
       end
       out:write(band(sn, 0x10000) == 0 and " " or "|") -- SNAP_FRAME
       out:write(band(sn, 0x10000) == 0 and " " or "|") -- SNAP_FRAME
     else
     else