comparison src/glyphs-x.c @ 80:1ce6082ce73f r20-0b90

Import from CVS: tag r20-0b90
author cvs
date Mon, 13 Aug 2007 09:06:37 +0200
parents 54cc21c15cbb
children 6a378aca36af
comparison
equal deleted inserted replaced
79:5b0a5bbffab6 80:1ce6082ce73f
274 Display *display; 274 Display *display;
275 275
276 /* Check non-absolute pathnames with a directory component relative to 276 /* Check non-absolute pathnames with a directory component relative to
277 the search path; that's the way Xt does it. */ 277 the search path; that's the way Xt does it. */
278 /* #### Unix-specific */ 278 /* #### Unix-specific */
279 if (string_byte (XSTRING (name), 0) == '/' || 279 if (XSTRING_BYTE (name, 0) == '/' ||
280 (string_byte (XSTRING (name), 0) == '.' && 280 (XSTRING_BYTE (name, 0) == '.' &&
281 (string_byte (XSTRING (name), 1) == '/' || 281 (XSTRING_BYTE (name, 1) == '/' ||
282 (string_byte (XSTRING (name), 1) == '.' && 282 (XSTRING_BYTE (name, 1) == '.' &&
283 (string_byte (XSTRING (name), 2) == '/'))))) 283 (XSTRING_BYTE (name, 2) == '/')))))
284 { 284 {
285 if (!NILP (Ffile_readable_p (name))) 285 if (!NILP (Ffile_readable_p (name)))
286 return name; 286 return name;
287 else 287 else
288 return Qnil; 288 return Qnil;