osd: some refactoring.

This commit is contained in:
sorgelig
2020-04-20 21:35:01 +08:00
parent e9eebbe260
commit 47b1ab4a61
5 changed files with 84 additions and 130 deletions

View File

@@ -455,7 +455,7 @@ static void parse_config()
{
// get version string
char s[128];
strcpy(s, OsdCoreName());
strcpy(s, OsdCoreNameGet());
strcat(s, " ");
substrcpy(s + strlen(s), p, 1);
OsdCoreNameSet(s);