Fix whitespace oddity in previous DynamicMeter updates

Thanks @BenBE for noticing.
This commit is contained in:
Nathan Scott 2021-07-14 17:08:36 +10:00
parent 0daefbe4b4
commit 2b69f44a9d
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ static void PCPDynamicMeter_parseFile(PCPDynamicMeters* meters, const char* path
if (caption) {
free_and_xStrdup(&meter->super.caption, caption);
free(caption);
caption = NULL;
caption = NULL;
}
} else if (value && meter && String_eq(key, "description")) {
free_and_xStrdup(&meter->super.description, value);