comparison src/fileio.c @ 1418:bac7c3fce150 v7.1.133

updated for version 7.1-133
author vimboss
date Wed, 03 Oct 2007 10:50:10 +0000
parents 0e6b369b9760
children d065616e0836
comparison
equal deleted inserted replaced
1417:c0bb3c1dd446 1418:bac7c3fce150
5551 (void)ucs2bytes(0xfeff, &p, flags); 5551 (void)ucs2bytes(0xfeff, &p, flags);
5552 return (int)(p - buf); 5552 return (int)(p - buf);
5553 } 5553 }
5554 #endif 5554 #endif
5555 5555
5556 #if defined(FEAT_VIMINFO) || defined(FEAT_BROWSE) || \
5557 defined(FEAT_QUICKFIX) || defined(PROTO)
5556 /* 5558 /*
5557 * Try to find a shortname by comparing the fullname with the current 5559 * Try to find a shortname by comparing the fullname with the current
5558 * directory. 5560 * directory.
5559 * Returns "full_path" or pointer into "full_path" if shortened. 5561 * Returns "full_path" or pointer into "full_path" if shortened.
5560 */ 5562 */
5571 if (p == NULL || *p == NUL) 5573 if (p == NULL || *p == NUL)
5572 p = full_path; 5574 p = full_path;
5573 } 5575 }
5574 return p; 5576 return p;
5575 } 5577 }
5578 #endif
5576 5579
5577 /* 5580 /*
5578 * Try to find a shortname by comparing the fullname with the current 5581 * Try to find a shortname by comparing the fullname with the current
5579 * directory. 5582 * directory.
5580 * Returns NULL if not shorter name possible, pointer into "full_path" 5583 * Returns NULL if not shorter name possible, pointer into "full_path"