]> granicus.if.org Git - icu/commitdiff
ICU-12652 tab -> space
authorSteven R. Loomis <srl@icu-project.org>
Fri, 2 Sep 2016 21:01:19 +0000 (21:01 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Fri, 2 Sep 2016 21:01:19 +0000 (21:01 +0000)
X-SVN-Rev: 39126

icu4c/source/common/uloc.cpp

index 751d613322f7fb838acab823b7b02f2e2c416cb5..3db7d971c6130497438ded92098d9a63fdc063d5 100644 (file)
@@ -2371,14 +2371,14 @@ uloc_acceptLanguageFromHTTP(char *result, int32_t resultAvailable, UAcceptResult
         }
     }
     uprv_sortArray(items.getAlias(), n, sizeof(items[0]), uloc_acceptLanguageCompare, NULL, TRUE, status);
-       if (U_FAILURE(*status)) {
-               return -1;
-       }
-       LocalMemory<const char*> strs(NULL);
-       if (strs.allocateInsteadAndReset(n) == NULL) {
-               *status = U_MEMORY_ALLOCATION_ERROR;
-               return -1;
-       }
+    if (U_FAILURE(*status)) {
+        return -1;
+    }
+    LocalMemory<const char*> strs(NULL);
+    if (strs.allocateInsteadAndReset(n) == NULL) {
+        *status = U_MEMORY_ALLOCATION_ERROR;
+        return -1;
+    }
     for(i=0;i<n;i++) {
 #if defined(ULOC_DEBUG)
         /*fprintf(stderr,"%d: s <%s> q <%g>\n", i, j[i].locale, j[i].q);*/