mirror of
https://github.com/ppy/osu.git
synced 2025-03-23 08:27:23 +08:00
Add explicit ToString()
to avoid sending LocalisableString
to registry function
This commit is contained in:
parent
b628880214
commit
e131a6c39f
@ -190,7 +190,7 @@ namespace osu.Desktop.Windows
|
||||
// register a program id for the given extension
|
||||
using (var programKey = classes.CreateSubKey(programId))
|
||||
{
|
||||
programKey.SetValue(null, description);
|
||||
programKey.SetValue(null, description.ToString());
|
||||
|
||||
using (var defaultIconKey = programKey.CreateSubKey(default_icon))
|
||||
defaultIconKey.SetValue(null, iconPath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user