Check the value returned by DIALOG_GetCharSize.