forked from github/server
fehlende message- type/rendered attribute im CR
This commit is contained in:
parent
1169a0612d
commit
33ae3283ee
|
@ -493,7 +493,7 @@ render_messages(FILE * F, faction * f, message_list *msgs)
|
||||||
#if RENDER_CRMESSAGES
|
#if RENDER_CRMESSAGES
|
||||||
char nrbuffer[1024*32];
|
char nrbuffer[1024*32];
|
||||||
nrbuffer[0] = '\0';
|
nrbuffer[0] = '\0';
|
||||||
if (nr_render(m->msg, f->locale, nrbuffer, sizeof(nrbuffer), f)==0 && nrbuffer[0]) {
|
if (nr_render(m->msg, f->locale, nrbuffer, sizeof(nrbuffer), f)>0 && nrbuffer[0]) {
|
||||||
fprintf(F, "MESSAGE %u\n", (unsigned int)m->msg);/*++msgno); */
|
fprintf(F, "MESSAGE %u\n", (unsigned int)m->msg);/*++msgno); */
|
||||||
fprintf(F, "%d;type\n", hash);
|
fprintf(F, "%d;type\n", hash);
|
||||||
fwritestr(F, nrbuffer);
|
fwritestr(F, nrbuffer);
|
||||||
|
|
Loading…
Reference in New Issue