Beispiel #1
0
char *
Msg_GetString(const char *idString) // IN
{
   ASSERT(idString != NULL);
   ASSERT(MSG_MAGICAL(idString));
   return strdup(Msg_StripMSGID(idString));
}
Beispiel #2
0
static gboolean
MsgHasMsgID(const gchar *s)
{
   return MSG_MAGICAL(s) &&
          *(s += MSG_MAGIC_LEN) == '(' &&
          strchr(s + 1, ')') != NULL;
}