diff options
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 2 | ||||
-rw-r--r-- | docs/CREDITS | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 9df8b7d0c4..b36b49c626 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -598,7 +598,7 @@ static const char* NOINLINE get_lif_token_value(struct gui_wps *gwps, | |||
598 | break; | 598 | break; |
599 | } | 599 | } |
600 | case INTEGER: | 600 | case INTEGER: |
601 | if (!number_set && out_text && *out_text >= '0' && *out_text <= '9') | 601 | if (!number_set && out_text && ((*out_text >= '0' && *out_text <= '9') || (*out_text == '-' && out_text[1] >= '0' && out_text[1] <= '9'))) |
602 | a = atoi(out_text); | 602 | a = atoi(out_text); |
603 | /* fall through */ | 603 | /* fall through */ |
604 | case PERCENT: | 604 | case PERCENT: |
diff --git a/docs/CREDITS b/docs/CREDITS index 24de5498a8..b1a9675f8f 100644 --- a/docs/CREDITS +++ b/docs/CREDITS | |||
@@ -699,6 +699,7 @@ Michael Rey | |||
699 | Yuxuan Shui | 699 | Yuxuan Shui |
700 | James Buren | 700 | James Buren |
701 | Issa Beganović | 701 | Issa Beganović |
702 | Georg Gadinger | ||
702 | 703 | ||
703 | The libmad team | 704 | The libmad team |
704 | The wavpack team | 705 | The wavpack team |