diff options
author | Guy Harris <gharris@sonic.net> | 2021-12-28 12:50:13 -0800 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-12-28 20:57:28 +0000 |
commit | b38987573e8a8e443c9fb17766d3c13eb11a4f28 (patch) | |
tree | 8358e0cfd1bd91913f542f3645f1243f745bd1b4 | |
parent | 9a9a754378830ef7e537d9a7088be4f08fcb4943 (diff) |
text_import: use 4-space indentation for number_of_padding_bytes().
It's the only routine that doesn't use 4-space indentation.
-rw-r--r-- | ui/text_import.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/text_import.c b/ui/text_import.c index 38898ea5cd..b2e37f5079 100644 --- a/ui/text_import.c +++ b/ui/text_import.c @@ -420,14 +420,14 @@ unwrite_bytes (guint32 nbytes) static guint32 number_of_padding_bytes (guint32 length) { - guint32 remainder; + guint32 remainder; - remainder = length % 4; + remainder = length % 4; - if (remainder == 0) - return 0; - else - return 4 - remainder; + if (remainder == 0) + return 0; + else + return 4 - remainder; } /*---------------------------------------------------------------------- |