From 615ce67ad4062b7d8df5f5675fb3d85614d2cef6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 12 Jan 2008 09:52:50 -0500 Subject: COMP: Fix build on borland. --- Source/kwsys/SystemTools.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index dbcf230..5c81ae4 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -3081,9 +3081,9 @@ void SystemTools::SplitPath(const char* p, if(root.size() == 1) { #if defined(_WIN32) && !defined(__CYGWIN__) - if(const char* h = getenv("USERPROFILE")) + if(const char* p = getenv("USERPROFILE")) { - homedir = h; + homedir = p; } else #endif -- cgit v0.12