Skip to content

Commit

Permalink
Bugfix: Color schemes no loading due to uninitialized pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
kintel committed Mar 27, 2024
1 parent 8951c9b commit 0e63169
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 0e63169

Please sign in to comment.