Skip to content

Commit

Permalink
Code formatting with clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Senichev <artemsen@gmail.com>
  • Loading branch information
artemsen committed Jan 25, 2025
1 parent 3296717 commit e1509c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/formats/sixel.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include "../loader.h"

#include <sixel.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>

// Sixel loader implementation
enum loader_status decode_sixel(struct image* ctx, const uint8_t* data,
Expand Down
4 changes: 2 additions & 2 deletions src/viewer.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,8 @@ static void draw_image(struct pixmap* wnd)
// clear image background
if (img->alpha) {
if (ctx.image_bkg == GRID_BKGID) {
pixmap_grid(wnd, ctx.img_x, ctx.img_y, width, height,
GRID_STEP, GRID_COLOR1, GRID_COLOR2);
pixmap_grid(wnd, ctx.img_x, ctx.img_y, width, height, GRID_STEP,
GRID_COLOR1, GRID_COLOR2);
} else {
pixmap_fill(wnd, ctx.img_x, ctx.img_y, width, height,
ctx.image_bkg);
Expand Down
1 change: 1 addition & 0 deletions src/wndbuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#pragma once

#include "pixmap.h"

#include <wayland-client-protocol.h>

/**
Expand Down

0 comments on commit e1509c3

Please sign in to comment.