Skip to content
Snippets Groups Projects
Commit 73c22674 authored by Luigi Scarso's avatar Luigi Scarso
Browse files

Fixed allocation of the buffer for the file extension.

parent a8b66235
Branches
No related tags found
No related merge requests found
......@@ -34928,7 +34928,7 @@ extreme cases so it may have to be shortened on some systems.
 
@<Use |c| to compute the file extension |s|@>=
{
s = xmalloc (13, 1);
s = xmalloc (14, 1);
mp_snprintf (s, 13, ".%i", (int) c);
s[13]='\0';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment