[file-roller: 4/5] libarchive: fixed indentation
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller: 4/5] libarchive: fixed indentation
- Date: Sat, 12 Oct 2019 16:38:23 +0000 (UTC)
commit 1217d24be03ab61522ff066159918ab1b5f4a0bd
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Oct 12 18:33:02 2019 +0200
libarchive: fixed indentation
src/fr-archive-libarchive.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/src/fr-archive-libarchive.c b/src/fr-archive-libarchive.c
index a194b5be..43716f82 100644
--- a/src/fr-archive-libarchive.c
+++ b/src/fr-archive-libarchive.c
@@ -289,26 +289,26 @@ load_data_seek (struct archive *a,
{
GSeekable *seekable;
GSeekType seektype;
- off_t new_offset;
+ off_t new_offset;
LoadData *load_data = client_data;
seekable = (GSeekable*)(load_data->istream);
- if (load_data->error != NULL || load_data->istream == NULL)
- return -1;
+ if ((load_data->error != NULL) || (load_data->istream == NULL))
+ return -1;
switch (whence) {
- case SEEK_SET:
- seektype = G_SEEK_SET;
- break;
- case SEEK_CUR:
- seektype = G_SEEK_CUR;
- break;
- case SEEK_END:
- seektype = G_SEEK_END;
- break;
- default:
- return -1;
+ case SEEK_SET:
+ seektype = G_SEEK_SET;
+ break;
+ case SEEK_CUR:
+ seektype = G_SEEK_CUR;
+ break;
+ case SEEK_END:
+ seektype = G_SEEK_END;
+ break;
+ default:
+ return -1;
}
g_seekable_seek (seekable,
@@ -330,7 +330,7 @@ load_data_skip (struct archive *a,
gint64 request)
{
GSeekable *seekable;
- off_t old_offset, new_offset;
+ off_t old_offset, new_offset;
LoadData *load_data = client_data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]