28 Feb
2013
28 Feb
'13
3:56 p.m.
How are you handling the case where format is NULL?
Never mind, I see what you're doing. But since the block where you now handle the horizontal alignment is inside an if (format->vertalign != StringAlignmentNear), this will break horizontal alignment when a vertical alignment is not set.