Skip to content

Commit 97483c6

Browse files
committed
Apply clang-format
1 parent 1edbc40 commit 97483c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

zathura/dbus-interface.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,8 @@ static GVariant* json_document_info(zathura_t* zathura) {
506506

507507
json_builder_end_object(builder);
508508

509-
g_autoptr(JsonNode) root = json_builder_get_root(builder);
510-
char* serialized_root = json_to_string(root, true);
509+
g_autoptr(JsonNode) root = json_builder_get_root(builder);
510+
char* serialized_root = json_to_string(root, true);
511511

512512
return g_variant_new_take_string(serialized_root);
513513
}

zathura/landlock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static void landlock_write_fd(const int dir_fd) {
116116
void landlock_restrict_write(void) {
117117
landlock_check_kernel();
118118
g_autofree char* data_path = girara_get_xdg_path(XDG_DATA);
119-
int fd = open(data_path, O_PATH | O_CLOEXEC | O_DIRECTORY);
119+
int fd = open(data_path, O_PATH | O_CLOEXEC | O_DIRECTORY);
120120
landlock_write_fd(fd);
121121
close(fd);
122122
}

zathura/zathura.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ bool document_open(zathura_t* zathura, const char* path, const char* uri, const
946946

947947
bool known_file = file_info_p != NULL;
948948
if (file_info_p) {
949-
file_info = *file_info_p;
949+
file_info = *file_info_p;
950950
} else if (zathura->database != NULL) {
951951
const uint8_t* file_hash = zathura_document_get_hash(document);
952952
known_file = zathura_db_get_fileinfo(zathura->database, file_path, file_hash, &file_info);

0 commit comments

Comments
 (0)