Skip to content

Commit

Permalink
Using stringWithSTString to set window title
Browse files Browse the repository at this point in the history
  • Loading branch information
colincornaby committed Nov 18, 2023
1 parent f3d9764 commit e34919f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Plasma/Apps/plClient/Mac-Cocoa/main.mm
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ - (void)updateWindowTitle
#endif

#else
[self.window setTitle:[NSString stringWithCString:plProduct::LongName().c_str() encoding:NSUTF8StringEncoding]];
[NSString stringWithSTString:plProduct::LongName()];
#endif
}

Expand Down

0 comments on commit e34919f

Please sign in to comment.