Differences From Artifact [b444f3a688]:
- File src/OFString.m — part of check-in [cfd374b906] at 2015-01-03 20:57:18 on branch trunk — Update copyright (user: js, size: 55950) [annotate] [blame] [check-ins using]
To Artifact [e0dd905710]:
- File src/OFString.m — part of check-in [775d6b52a5] at 2015-01-29 20:58:06 on branch trunk — -[OFString lastPathComponent]: Return @"" for / (user: js, size: 56022) [annotate] [blame] [check-ins using]
︙ | |||
1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 | 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 | + + + + + + | pool = objc_autoreleasePoolPush(); characters = [self characters]; if (OF_IS_PATH_DELIMITER(characters[length - 1])) length--; if (length == 0) { objc_autoreleasePoolPop(pool); return @""; } for (i = length - 1; i >= 0; i--) { if (OF_IS_PATH_DELIMITER(characters[i])) { i++; break; } } |
︙ |