图标间距

This commit is contained in:
zogodo
2019-10-11 10:27:48 +08:00
parent 47d76f9567
commit 54c72f82cb
2 changed files with 4 additions and 3 deletions

View File

@@ -38,7 +38,8 @@ char* GetPowerRecord(int idx)
{
if (idx > power_record.idx) return "";
int i = idx > 0 ? idx : (power_record.idx - PW_NUM - 1);
int i = idx > 0 ? idx : (power_record.idx - PW_NUM + 1);
i = i < 0 ? 0 : i;
char* tmp = power_record_str;
for (; i <= power_record.idx; i++)
{