From 039f9c827a2396898b031a2ea003e4f1d534b08e Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Tue, 23 Jun 2015 08:29:06 -0700 Subject: [PATCH] Fix indentation --- .../test/test_read_format_zip_utf8_paths.c | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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)); } -- 2.47.2