Fixed issue #1106: Stairs in log view

Thanks to Fredrik Svensson for a patch

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>