Use tabs for indentation

This commit is contained in:
Mikkel Oscar Lyderik 2016-04-17 13:36:17 +02:00
parent 969f76a1a4
commit 3955c66ce8

View File

@ -11,13 +11,13 @@
#include <arpa/inet.h>
void cairo_set_source_u32(cairo_t *cairo, uint32_t color) {
color = htonl(color);
color = htonl(color);
cairo_set_source_rgba(cairo,
(color >> (2*8) & 0xFF) / 255.0,
(color >> (1*8) & 0xFF) / 255.0,
(color >> (0*8) & 0xFF) / 255.0,
(color >> (3*8) & 0xFF) / 255.0);
cairo_set_source_rgba(cairo,
(color >> (2*8) & 0xFF) / 255.0,
(color >> (1*8) & 0xFF) / 255.0,
(color >> (0*8) & 0xFF) / 255.0,
(color >> (3*8) & 0xFF) / 255.0);
}
static cairo_t *create_border_buffer(swayc_t *view, struct wlc_geometry geo, cairo_surface_t **surface) {