From 2245eb642952d8665ac121e8501a50acc88b62f9 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Wed, 25 Jan 2006 13:36:45 +0000 Subject: [PATCH] Fix typos in KTUtil::isAbsolutePath --- lib/util/ktutil.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/util/ktutil.inc b/lib/util/ktutil.inc index 01be6be..fda0529 100644 --- a/lib/util/ktutil.inc +++ b/lib/util/ktutil.inc @@ -452,13 +452,13 @@ class KTUtil { // {{{ isAbsolutePath function isAbsolutePath($sPath) { - if (substr($sFilename, 0, 1) == '/') { + if (substr($sPath, 0, 1) == '/') { return true; } - if (OS_WINDOWS && (substr($sFilename, 1, 2) == ':/')) { + if (OS_WINDOWS && (substr($sPath, 1, 2) == ':/')) { return true; } - if (OS_WINDOWS && (substr($sFilename, 1, 2) == ':\\')) { + if (OS_WINDOWS && (substr($sPath, 1, 2) == ':\\')) { return true; } return false; -- libgit2 0.21.4