diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-10-09 12:29:26 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-10-09 12:29:26 +1000 |
commit | 3e6c0348aee684d92568f7c55cb8238c2d014867 (patch) | |
tree | ba2075a2e17b1e0187859693d7fc281813c61e3e /src/gfile | |
parent | 27906d68562d3e91435a2ab0e0b955232965f885 (diff) | |
download | uGFX-3e6c0348aee684d92568f7c55cb8238c2d014867.tar.gz uGFX-3e6c0348aee684d92568f7c55cb8238c2d014867.tar.bz2 uGFX-3e6c0348aee684d92568f7c55cb8238c2d014867.zip |
Fixes bug with printf formatting of zero filled fields
Diffstat (limited to 'src/gfile')
-rw-r--r-- | src/gfile/gfile_printg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfile/gfile_printg.c b/src/gfile/gfile_printg.c index 33db8bc8..d11bb24d 100644 --- a/src/gfile/gfile_printg.c +++ b/src/gfile/gfile_printg.c @@ -90,7 +90,7 @@ int vfnprintg(GFILE *f, int maxlen, const char *fmt, va_list arg) { fmt++; left_align = TRUE; } - if (*fmt == '.') { + if (*fmt == '0') { fmt++; filler = '0'; } |