Battery (Linux): fix build

This commit is contained in:
李通洲
2023-08-17 16:13:05 +08:00
parent 55b279ab09
commit ea2a26bd57
+1 -1
View File
@@ -163,7 +163,7 @@ void ffParseBatteryJsonObject(FFBatteryOptions* options, yyjson_val* module)
#ifdef __linux__
if (ffStrEqualsIgnCase(key, "dir"))
{
ffStrbufSetS(&options.dir, yyjson_get_str(val));
ffStrbufSetS(&options->dir, yyjson_get_str(val));
continue;
}
#endif