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:31:53 +1000 |
commit | 8e42404e7cdfcd568afac6b6a1ad0d0c825da0ff (patch) | |
tree | 26521af6e88c94ad0f6ee8be10d2dfec612cfb09 /src/gfile | |
parent | a40283c92becd977cfad0c4b01ca069de23eacbf (diff) | |
download | uGFX-8e42404e7cdfcd568afac6b6a1ad0d0c825da0ff.tar.gz uGFX-8e42404e7cdfcd568afac6b6a1ad0d0c825da0ff.tar.bz2 uGFX-8e42404e7cdfcd568afac6b6a1ad0d0c825da0ff.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'; } |