Update diceparser.cpp

correction better display method