diff options
| author | William Wilgus <me.theuser@yahoo.com> | 2018-12-22 14:31:40 -0600 |
|---|---|---|
| committer | William Wilgus <me.theuser@yahoo.com> | 2018-12-22 14:31:40 -0600 |
| commit | d258edbb4fef8a187ad4ef8c3d2c072f9ccad83a (patch) | |
| tree | 06fdb57423c66f55b4eaf0a0e39526020d7aa566 /apps | |
| parent | 4a8f263a7dc2bacc1730699f5f4a3e39d4f93fb4 (diff) | |
| download | rockbox-d258edbb4fef8a187ad4ef8c3d2c072f9ccad83a.zip rockbox-d258edbb4fef8a187ad4ef8c3d2c072f9ccad83a.tar.gz rockbox-d258edbb4fef8a187ad4ef8c3d2c072f9ccad83a.tar.bz2 rockbox-d258edbb4fef8a187ad4ef8c3d2c072f9ccad83a.tar.xz | |
Fix Auto Ranged Time Fix Red for Database
Change-Id: I8f4edc4ca84792f977ea673d2435e15f7e2da14e
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/misc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c index c93bf3c..9086585 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -1111,7 +1111,8 @@ char* skip_whitespace(char* const str) return s; } -#ifndef CHECKWPS + +#if !defined(CHECKWPS) && !defined(DBTOOL) /* time_split_units() split time values depending on base unit unit_idx: UNIT_HOUR, UNIT_MIN, UNIT_SEC, UNIT_MS @@ -1337,7 +1338,8 @@ void format_time(char* buf, int buf_size, long t) t < 0, "-", units_in[UNIT_IDX_HR], hashours, ":", hashours+1, units_in[UNIT_IDX_MIN], units_in[UNIT_IDX_SEC]); } -#endif /* !defined(CHECKWPS) */ +#endif /* !defined(CHECKWPS) && !defined(DBTOOL)*/ + /** * Splits str at each occurence of split_char and puts the substrings into vector, * but at most vector_lenght items. Empty substrings are ignored. |