ICU-6176 Undo last change. The warning was bad.

X-SVN-Rev: 23415
This commit is contained in:
George Rhoten 2008-02-13 10:04:38 +00:00
parent 928d6152bc
commit 61d27ac692

View File

@ -255,10 +255,7 @@ main(int argc, char* argv[]) {
char *end;
uprv_strcpy(pathBuf, path);
end = uprv_strrchr(pathBuf, 0);
if (end == NULL) {
end = pathBuf+strlen(pathBuf);
}
end = uprv_strchr(pathBuf, 0);
if(*(end-1)!=U_FILE_SEP_CHAR) {
*(end++)=U_FILE_SEP_CHAR;
}