From dd1072c83848d7f19389fcfb620bffd5462cb616 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Mon, 24 Sep 2001 20:13:23 -0700
Subject: [PATCH] combine_path_nt should now handle "//foo.gif" properly, fix
 for [bug 1247]

Rev: src/combine_path.h:1.9
---
 src/combine_path.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/combine_path.h b/src/combine_path.h
index 49f069d92d..65429d9779 100644
--- a/src/combine_path.h
+++ b/src/combine_path.h
@@ -1,5 +1,5 @@
 /*
- * $Id: combine_path.h,v 1.8 2001/09/24 16:51:28 grubba Exp $
+ * $Id: combine_path.h,v 1.9 2001/09/25 03:13:23 hubbe Exp $
  *
  * Combine path template.
  *
@@ -35,7 +35,7 @@ static int find_absolute(PCHARP s)
   if(IS_SEP(c0) && IS_SEP(c1))
   {
     int l;
-    for(l=2;isalpha(INDEX_PCHARP(s,l));l++);
+    for(l=2;INDEX_PCHARP(s,l) && !IS_SEP(INDEX_PCHARP(s,l));l++);
     return l;
   }
 
-- 
GitLab