[Bf-committers] Blender 2.43 RC1
Ton Roosendaal
ton at blender.org
Mon Jan 8 12:38:28 CET 2007
Hi,
First; snprintf() is not defined in all platforms, so it needs #ifdefs.
Second, why would you make this change? If you read the code there you
can see it was implemented as intended.
-Ton-
On 8 Jan, 2007, at 9:36, Giuseppe Ghibò wrote:
> OK. I'll test. BTW, would be possible to commit also the one at:
>
> source/blender/blenloader/intern/writefile.c
>
> line 1853:
>
> sprintf(fg.subvstr, "%4d", BLENDER_SUBVERSION);
>
> with:
>
> snprintf(fg.subvstr, sizeof(fg.subvstr), "%4d", BLENDER_SUBVERSION);
>
------------------------------------------------------------------------
--
Ton Roosendaal Blender Foundation ton at blender.org
http://www.blender.org
More information about the Bf-committers
mailing list