mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-165 fix compile error
X-SVN-Rev: 245
This commit is contained in:
parent
7c18f32045
commit
39dfb3e76b
1 changed files with 1 additions and 5 deletions
|
@ -305,10 +305,8 @@ void TestDataDirectory()
|
|||
char oldDirectory[80];
|
||||
const char *temp,*testValue1,*testValue2,*testValue3;
|
||||
UErrorCode err = U_ZERO_ERROR;
|
||||
const char path[40] ="d:\\icu\\source\\test\\intltest\\" ; /*give the required path */
|
||||
const char path[40] ="d:\\icu\\source\\test\\intltest" U_FILE_SEP_STRING; /*give the required path */
|
||||
|
||||
path[strlen(path)-1] =U_FILE_SEP_CHAR; /* c'mon.. at least end it with a valid sepchar for this platform! */
|
||||
|
||||
log_verbose("Testing getDataDirectory()\n");
|
||||
temp = uloc_getDataDirectory();
|
||||
strcpy(oldDirectory, temp);
|
||||
|
@ -340,8 +338,6 @@ void TestDataDirectory()
|
|||
log_err("get/setDataDirectory() failed: expected \"eng\", got \" %s \" \n", testValue3);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue