Skip to content

Commit 49ef7fc

Browse files
committed
Packages (Windows): code cleanups
1 parent 0e9a5ac commit 49ef7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/packages/packages_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static inline void wrapYyjsonFree(yyjson_doc** doc)
7878
static void detectScoop(FFPackagesResult* result)
7979
{
8080
FF_STRBUF_AUTO_DESTROY scoopPath = ffStrbufCreateA(MAX_PATH + 3);
81-
ffStrbufAppendS(&scoopPath, instance.state.platform.homeDir.chars);
81+
ffStrbufAppend(&scoopPath, &instance.state.platform.homeDir);
8282
ffStrbufAppendS(&scoopPath, ".config/scoop/config.json");
8383

8484
yyjson_val* root = NULL;

0 commit comments

Comments
 (0)