Skip to content

Commit

Permalink
Fixed bug 2818719.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 14, 2009
1 parent f45a623 commit dffbb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/m_misc.c
Expand Up @@ -956,7 +956,7 @@ void M_WriteCommented(FILE *file, const char* text)
{
char* buff = M_Malloc(strlen(text) + 1), *line;

strncpy(buff, text, strlen(text));
strcpy(buff, text);
line = strtok(buff, "\n");
while(line)
{
Expand Down

0 comments on commit dffbb91

Please sign in to comment.