Branch: Tag:

2001-09-25

2001-09-25 03:13:23 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

combine_path_nt should now handle "//foo.gif" properly, fix for [bug 1247 (#1247)]

Rev: src/combine_path.h:1.9

1:   /* -  * $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:    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;    }