SimpleMachines/SMF2.1 — pull request #1691 by Yoshi2889 (2014-05-28 13:50:25+00:00)
Title: Fix a few undefined bugs in the display mechanism

Reported by Illori. Wasn't able to reproduce them myself but figured I'd fix up this code either way.

Signed-off-by: Yoshi2889