Fixed typo introduced in last commit
authorSven Strickroth <email@cs-ware.de>
Thu, 31 Jan 2013 16:06:25 +0000 (31 17:06 +0100)
committerSven Strickroth <email@cs-ware.de>
Thu, 31 Jan 2013 16:06:25 +0000 (31 17:06 +0100)
Win32 build was broken.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/Git/Git.cpp
src/Git/GitConfig.h

index 0acdb5e..771f31b 100644 (file)
@@ -1699,7 +1699,7 @@ BOOL CGit::CheckMsysGitDir()
        str=msysdir;\r
        if(str.IsEmpty() || !FileExists(str + _T("\\git.exe")))\r
        {\r
-               CRegString msyslocalinstalldir = CRegString(REG_MSYSGIT_INSTALL32, _T(""), FALSE, HKEY_CURRENT_USER);\r
+               CRegString msyslocalinstalldir = CRegString(REG_MSYSGIT_INSTALL_LOCAL, _T(""), FALSE, HKEY_CURRENT_USER);\r
                str = msyslocalinstalldir;\r
                str.TrimRight(_T("\\"));\r
                if (str.IsEmpty())\r
index 1502723..0667abe 100644 (file)
@@ -31,7 +31,8 @@ public:
 \r
 #ifndef WIN64\r
 #define REG_MSYSGIT_INSTALL _T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1\\InstallLocation")\r
+#define REG_MSYSGIT_INSTALL_LOCAL REG_MSYSGIT_INSTALL\r
 #else\r
-#define REG_MSYSGIT_INSTALL32 _T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1\\InstallLocation")\r
+#define REG_MSYSGIT_INSTALL_LOCAL _T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1\\InstallLocation")\r
 #define REG_MSYSGIT_INSTALL    _T("SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1\\InstallLocation")\r
-#endif
\ No newline at end of file
+#endif\r