libht: Fixed the trim bug again. :P