fix for int display in chargen

Fix for the display bug in chargen with the changes to int.