Skip to content

Commit

Permalink
Bugfix: Color schemes no loading due to uninitialized pointer (#5071)
Browse files Browse the repository at this point in the history
  • Loading branch information
kintel committed Mar 28, 2024
1 parent 8951c9b commit f2d4c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/PlatformUtils-mac.mm
Expand Up @@ -28,7 +28,7 @@

std::string PlatformUtils::userConfigPath()
{
NSError *error;
NSError *error = nullptr;
NSURL *appSupportDir = [[NSFileManager defaultManager] URLForDirectory:NSApplicationSupportDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:YES error:&error];
if (error) {
return "";
Expand Down

0 comments on commit f2d4c1b

Please sign in to comment.