All pastes #793536 Raw Edit

Anonym

public c v1 · immutable
·published 2007-11-22 11:17 UTC
rendered paste body
Index: src/client/cl_menu.c===================================================================--- src/client/cl_menu.c        (Revision 13079)+++ src/client/cl_menu.c        (Arbeitskopie)@@ -4955,8 +4955,16 @@        mess->min = ((ccs.date.sec % 3600) / 60);        mess->s = (ccs.date.sec % 3600) / 60 / 60; -       Q_strncpyz(mess->title, title, sizeof(mess->title));-       mess->text = Mem_PoolStrDup(text, cl_localPool, CL_TAG_NONE);+       switch (mess->type) {+       case MSG_EVENT:+       case MSG_NEWS:+               Q_strncpyz(mess->title, _("Mail"), sizeof(mess->title));+               mess->text = Mem_PoolStrDup(_("You got a new mail"), cl_localPool, CL_TAG_NONE);+               break;+       default:+               Q_strncpyz(mess->title, title, sizeof(mess->title));+               mess->text = Mem_PoolStrDup(text, cl_localPool, CL_TAG_NONE);+       }         /* they need to be translated already */        if (popup)