From: Tim Kientzle Date: Tue, 23 Jun 2015 15:29:06 +0000 (-0700) Subject: Fix indentation X-Git-Tag: v3.1.900a~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=039f9c827a2396898b031a2ea003e4f1d534b08e;p=thirdparty%2Flibarchive.git Fix indentation --- diff --git a/libarchive/test/test_read_format_zip_utf8_paths.c b/libarchive/test/test_read_format_zip_utf8_paths.c index 86d587c96..a70341627 100644 --- a/libarchive/test/test_read_format_zip_utf8_paths.c +++ b/libarchive/test/test_read_format_zip_utf8_paths.c @@ -45,20 +45,20 @@ verify(struct archive *a) { for (file = 0; file < 20; ++file) { assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); assert((wp = archive_entry_pathname_w(ae)) != NULL); - if (wp) { - for (i = 0; wp[i] != 0; ++i) { - if (wp[i] == '2') { - failure("Unicode 'o with umlaut' expected"); - assertEqualInt(wp[i + 4], 0xF6); - } else if (wp[i] == '3') { - failure("Unicode 'a with umlaut' expected"); - assertEqualInt(wp[i + 4], 0xE4); - } else if (wp[i] == '4') { - failure("Unicode 'a with ring' expected"); - assertEqualInt(wp[i + 4], 0xE5); - } - } - } + if (wp) { + for (i = 0; wp[i] != 0; ++i) { + if (wp[i] == '2') { + failure("Unicode 'o with umlaut' expected"); + assertEqualInt(wp[i + 4], 0xF6); + } else if (wp[i] == '3') { + failure("Unicode 'a with umlaut' expected"); + assertEqualInt(wp[i + 4], 0xE4); + } else if (wp[i] == '4') { + failure("Unicode 'a with ring' expected"); + assertEqualInt(wp[i + 4], 0xE5); + } + } + } } assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); }