diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-10-15 13:29:29 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-10-15 13:29:29 +0000 |
commit | 69429d14577ad2d49426d177c6e65bf827111897 (patch) | |
tree | 87567f2ee67d6fd019202888682606cf2927796c | |
parent | f4ed2f074aeec20891fedd21077688cc2ad25af7 (diff) |
INTEGRATION: CWS vgbugs08 (1.10.42); FILE MERGED
2007/09/27 10:12:57 vg 1.10.42.1: #i81820# fully stripped basenames
-rw-r--r-- | soltools/mkdepend/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/soltools/mkdepend/main.c b/soltools/mkdepend/main.c index 411dfc0040b8..04fefbb354bc 100644 --- a/soltools/mkdepend/main.c +++ b/soltools/mkdepend/main.c @@ -623,6 +623,14 @@ char *base_name(file) if (*p == '.') *p = '\0'; + + while (p > file) { + if ( *p == '/' || *p == '\\') { + file = p + 1; + break; + }; + p--; + }; return(file); } |