display: Don't strdup unnecessarily

We can simply return a const char * here.