diff options
Diffstat (limited to 'src/Windows/Environment.hs')
-rw-r--r-- | src/Windows/Environment.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Windows/Environment.hs b/src/Windows/Environment.hs index 490e2d4..8597d42 100644 --- a/src/Windows/Environment.hs +++ b/src/Windows/Environment.hs @@ -50,7 +50,7 @@ query profile name = Registry.getExpandedString (profileKeyPath profile) name engrave :: Profile -> VarName -> VarValue -> IO (Either IOError ()) engrave profile name value = finally doEngrave notifyEnvironmentUpdate where - doEngrave = Registry.setExpandableString (profileKeyPath profile) name value + doEngrave = Registry.setStringPreserveType (profileKeyPath profile) name value wipe :: Profile -> VarName -> IO (Either IOError ()) wipe profile name = finally doWipe notifyEnvironmentUpdate |