Mark unreadable portions of a file with a red XX
commit1a046a515a919d1c5bb63c8c1fc5701e31989e31
authorPetr Tesarik <petr@tesarici.cz>
Fri, 21 Sep 2012 16:21:59 +0000 (21 18:21 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Fri, 21 Sep 2012 16:21:59 +0000 (21 18:21 +0200)
tree9eabf3216d2ac6e320b66b7c8102a08f6594f5b3
parent568aa5d5f47955efe7d75ce327c0e269557a55dd
Mark unreadable portions of a file with a red XX

If a block cannot be read, mark it with a red "XX" in the hex view
and with a question mark (?) in the ASCII view.

Tested on /dev/mem (where some parts are disallowed by the kernel).
src/ui/fileshow.c