Skip to content

Commit ea2a26b

Browse files
committed
Battery (Linux): fix build
1 parent 55b279a commit ea2a26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/battery/battery.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ void ffParseBatteryJsonObject(FFBatteryOptions* options, yyjson_val* module)
163163
#ifdef __linux__
164164
if (ffStrEqualsIgnCase(key, "dir"))
165165
{
166-
ffStrbufSetS(&options.dir, yyjson_get_str(val));
166+
ffStrbufSetS(&options->dir, yyjson_get_str(val));
167167
continue;
168168
}
169169
#endif

0 commit comments

Comments
 (0)