From 6413d01ac4a863346cfeffce8ca15a66d99cd17e Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 9 Nov 2015 10:08:49 +0000 Subject: [PATCH] ide: Fixed instant setup git-svn-id: svn://ultimatepp.org/upp/trunk@9164 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/InstantSetup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uppsrc/ide/InstantSetup.cpp b/uppsrc/ide/InstantSetup.cpp index 463621dac..8de78834f 100644 --- a/uppsrc/ide/InstantSetup.cpp +++ b/uppsrc/ide/InstantSetup.cpp @@ -367,9 +367,9 @@ String GetWinRegStringWOW64(const char *value, const char *path, HKEY base_key void AutoInstantSetup() { - String sgn = ToLower(GetFileFolder(GetExeFilePath())); - String cf = GetExeDirFile("setup-path") + "\n" + - GetWinRegStringWOW64("MachineGuid", "SOFTWARE\\Microsoft\\Cryptography"); + String sgn = ToLower(GetFileFolder(GetExeFilePath())) + "\n" + + GetWinRegStringWOW64("MachineGuid", "SOFTWARE\\Microsoft\\Cryptography"); + String cf = GetExeDirFile("setup-path"); String sgn0 = LoadFile(cf); if(sgn != sgn0) { InstantSetup();