From ae6f42bcadaefc524efb9e0aa6dc34530b2082d5 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Tue, 23 Nov 1999 22:48:46 +0000 Subject: [PATCH] fix compile error X-Trac-URL: https://ssl.icu-project.org/trac/ticket/165 git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@245 0a8b766c-62c9-45f9-954d-7f2943c9ead0 --- source/test/cintltst/cloctst.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/test/cintltst/cloctst.c b/source/test/cintltst/cloctst.c index 0d9c1523c53..a7b8c15763e 100644 --- a/source/test/cintltst/cloctst.c +++ b/source/test/cintltst/cloctst.c @@ -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); } - - }