From 259a01f0339a7374ad596d775872177c04f816a2 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 15 May 2012 10:32:51 +0000 Subject: [PATCH] reorder printf fields git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11817 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=93e728782b8b90c93287593672e59d76ede86b54 --- prvm_cmds.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/prvm_cmds.c b/prvm_cmds.c index f18bff24..b3ca4bf3 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -6640,18 +6640,18 @@ nolength: if(flags & PRINTF_LEFT) *f++ = '-'; if(flags & PRINTF_SPACEPOSITIVE) *f++ = ' '; if(flags & PRINTF_SIGNPOSITIVE) *f++ = '+'; - if(*s == 'd' || *s == 'i' || *s == 'o' || *s == 'u' || *s == 'x' || *s == 'X') - { - // make it use a good integer type - for(p = INT_LOSSLESS_FORMAT_SIZE; *p; ) - *f++ = *p++; - } *f++ = '*'; if(precision >= 0) { *f++ = '.'; *f++ = '*'; } + if(*s == 'd' || *s == 'i' || *s == 'o' || *s == 'u' || *s == 'x' || *s == 'X') + { + // make it use a good integer type + for(p = INT_LOSSLESS_FORMAT_SIZE; *p; ) + *f++ = *p++; + } *f++ = *s; *f++ = 0; -- 2.39.2