diff src/utils.cc @ 1104:3535aa4d38c6

[project @ 1995-02-14 22:12:34 by jwe]
author jwe
date Tue, 14 Feb 1995 22:20:16 +0000
parents 75fc98220389
children 22741d6ed818
line wrap: on
line diff
--- a/src/utils.cc	Tue Feb 14 21:43:55 1995 +0000
+++ b/src/utils.cc	Tue Feb 14 22:20:16 1995 +0000
@@ -234,7 +234,7 @@
 	  char *ptr = tmp_path;
 	  while (*ptr != '\0')
 	    {
-	      if (*ptr == ':')
+	      if (*ptr == SEPCHAR)
 		nelem++;
 	      ptr++;
 	    }
@@ -252,7 +252,7 @@
       char *ptr = tmp_path;
       while (i < nelem)
 	{
-	  char *end = strchr (ptr, ':');
+	  char *end = strchr (ptr, SEPCHAR);
 	  if (end)
 	    *end = '\0';
 	  char *result = tilde_expand (ptr);