longer string

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23750 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-09-07 21:12:22 +00:00
parent c2fdb55529
commit 48da5e2bd7

View File

@@ -54,7 +54,7 @@ com_right(struct et_list *list, long code)
if (code >= p->table->base && code < p->table->base + p->table->n_msgs) {
const char *str = p->table->msgs[code - p->table->base];
#ifdef HAVE_LIBINTL
char domain[6 + 1 + 20];
char domain[12 + 20];
snprintf(domain, sizeof(domain), "heim_com_err%d", p->table->base);
#endif
return dgettext(domain, str);