Global: use ffStrbufInitStatic

This commit is contained in:
李通洲
2023-07-25 16:09:09 +08:00
committed by 李通洲
parent 309d1d2130
commit 841be619ba
8 changed files with 29 additions and 30 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ void ffInitWeatherOptions(FFWeatherOptions* options)
ffOptionInitModuleArg(&options->moduleArgs);
ffStrbufInit(&options->location);
ffStrbufInitS(&options->outputFormat, "%t+-+%C+(%l)");
ffStrbufInitStatic(&options->outputFormat, "%t+-+%C+(%l)");
options->timeout = 0;
}