From: Josh G. <ja...@us...> - 2004-05-11 20:38:01
|
Update of /cvsroot/gift/giFT/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1681/lib Modified Files: Tag: dev-gift-0_12_0 gi_path.c Log Message: corrected a small mistake which assumed the path separator was a '/' in native form Index: gi_path.c =================================================================== RCS file: /cvsroot/gift/giFT/lib/Attic/gi_path.c,v retrieving revision 1.1.2.23 retrieving revision 1.1.2.24 diff -u -d -r1.1.2.23 -r1.1.2.24 --- gi_path.c 17 Apr 2004 08:39:21 -0000 1.1.2.23 +++ gi_path.c 11 May 2004 20:37:52 -0000 1.1.2.24 @@ -289,7 +289,7 @@ * string is currently empty, in which case we will produce a relative * path. */ - if (gipath->len > 0 && gipath->buf[gipath->len - 1] != '/') + if (gipath->len > 0 && gipath->buf[gipath->len - 1] != pchar) { gipath->buf[gipath->len] = pchar; gipath->len++; |