Add support for '+' in custom format specifiers

This commit is contained in:
Tobias Brunner
2012-08-13 11:00:28 +02:00
parent c6c39c783b
commit 495e12aead
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -162,6 +162,11 @@ struct printf_hook_spec_t {
*/
int minus;
/**
* TRUE if a '+' was used in the format specifier
*/
int plus;
/**
* The width as given in the format specifier.
*/