Re: [AD] Grabber and vsnprintf |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sunday 15 May 2005 00:12, Chris wrote:
> Evert Glebbeek wrote:
> > + uvszprintf(buf, 1024, fmt, args);
>
> Isn't proper practice to use sizeof(buf), in case someone changes the
> size of it in the future?
Probably. Actually, I think proper practice is to make the size a define
and use that instead of the hard-coded number (and also use it
consistently throughout the library).
Evert