Get rid of adding 'char' to a string pointer
Differential Revision: https://phabricator.kde.org/D15791