diff --git a/src/xpdev/xpprintf.c b/src/xpdev/xpprintf.c index f7d2dc2bf09cbc0212b3f4aa43bdf4d1d28fc285..cbbc1740bfe2cfe960b0b2279cc4fdb7c999c565 100644 --- a/src/xpdev/xpprintf.c +++ b/src/xpdev/xpprintf.c @@ -565,9 +565,17 @@ char *xp_asprintf_next(char *format, int type, ...) va_start(vars, type); switch(type & ~XP_PRINTF_CONVERT) { case XP_PRINTF_TYPE_INT: /* Also includes char and short */ + /* + * ToDo: If it's a %c, and the value is 0, should it output [null] + * or should it terminate the string? + */ i=va_arg(vars, int); break; case XP_PRINTF_TYPE_UINT: /* Also includes char and short */ + /* + * ToDo: If it's a %c, and the value is 0, should it output [null] + * or should it terminate the string? + */ ui=va_arg(vars, unsigned int); break; case XP_PRINTF_TYPE_LONG: