fix text error

(The corresponding function was originally taken from them
 Dusk project (also GPLv3), but the name might cause some
 confusion in morrowtools, so it got removed.)