[Mplayer-cvslog] CVS: main help_mp-ko.h,1.4,1.5

Fredrik Kuivinen freku045 at student.liu.se
Mon Jun 3 23:55:04 CEST 2002


On Mon, Jun 03, 2002 at 11:58:56PM +0200, Arpi of Ize wrote:
> -#define MSGTR_IntBySignal "\nMPlayer°¡ %s¸ðµâ¿¡¼­ %d½ÅÈ£·Î ÀÎÅÍ·´Æ®µÇ¾ú½À´Ï´Ù.\n"
> +// FIXME: %d must be before %s !!!
> +// #define MSGTR_IntBySignal "\nMPlayer°¡ %s¸ðµâ¿¡¼­ %d½ÅÈ£·Î ÀÎÅÍ·´Æ®µÇ¾ú½À´Ï´Ù.\n"

It is possible to refer to arguments with an index.
Example: 

printf("string: %2$s int: %1$d", integer, string);

will work if 'integer' is an int and 'string' is a char*. (I am not
100% certain that the syntax is correct but it is something like that.)

/ Fredrik




More information about the MPlayer-cvslog mailing list