Skip to content

Commit

Permalink
MacGui: actually check the correct variable
Browse files Browse the repository at this point in the history
  • Loading branch information
galad87 committed Jul 17, 2024
1 parent e296ff4 commit c6546d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macosx/HBPreferencesController.m
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ + (void)registerUserDefaults

NSData *moviesData = nil;
NSURL *moviesURL = HBUtilities.defaultDestinationFolderURL;
if (moviesData)
if (moviesURL)
{
moviesData = [NSKeyedArchiver archivedDataWithRootObject:moviesURL requiringSecureCoding:YES error:NULL];
}
Expand Down

0 comments on commit c6546d3

Please sign in to comment.