Bugfix.

Fixed a bug that prevented text from being printed on certain platforms.