comparison src/xrdb.c @ 5116:b0ff9171868a

(search_magic_path): Fix colon-colon case.
author Richard M. Stallman <rms@gnu.org>
date Tue, 23 Nov 1993 03:23:05 +0000
parents 1fc792473491
children 1476768ef7fc
comparison
equal deleted inserted replaced
5115:da6f8aa6c0aa 5116:b0ff9171868a
346 s = "%N%S"; 346 s = "%N%S";
347 path = magic_file_p (s, strlen (s), class, escaped_suffix, suffix); 347 path = magic_file_p (s, strlen (s), class, escaped_suffix, suffix);
348 if (path) 348 if (path)
349 return path; 349 return path;
350 350
351 s = p + 1; 351 /* Skip the first colon. */
352 p++;
352 continue; 353 continue;
353 } 354 }
354 355
355 if (p > s) 356 if (p > s)
356 { 357 {