On 23 March 2015 at 15:50, Sebastian Lackner sebastian@fds-team.de wrote:
if (w % fmt->block_width)
w += fmt->block_width - w % fmt->block_width;
if (h % fmt->block_height)
h += fmt->block_height - h % fmt->block_height;
Could you please just use the conventional way to align something?