(xyzprintf): recognise, but ignore, the linux(?) ' thousands grouping
flag git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11922 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1995-2002 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1995-2003 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -338,6 +338,8 @@ xyzprintf (struct snprintf_state *state, const char *char_format, va_list ap)
|
|||||||
flags |= alternate_flag;
|
flags |= alternate_flag;
|
||||||
else if(c == '0')
|
else if(c == '0')
|
||||||
flags |= zero_flag;
|
flags |= zero_flag;
|
||||||
|
else if(c == '\'')
|
||||||
|
; /* just ignore */
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user