From 31bff49ef9c5e9ee6079e369e3b4d90c447f8d0b Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Thu, 2 Nov 2023 21:09:48 +0100 Subject: Fix vim modelines --- comet.c | 2 +- draw.c | 2 +- draw.h | 2 +- x11.c | 6 +++--- x11.h | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/comet.c b/comet.c index dc3f530..5a64235 100644 --- a/comet.c +++ b/comet.c @@ -15,4 +15,4 @@ int main(int argc, char **argv) return 0; } -// vim: set ts=4 sw=4 et +// vim: ts=4 sw=4 et diff --git a/draw.c b/draw.c index 248f59c..20f5f03 100644 --- a/draw.c +++ b/draw.c @@ -31,4 +31,4 @@ void draw(Window *win) cairo_surface_destroy(surface); } -// vim: set ts=4 sw=4 et +// vim: ts=4 sw=4 et diff --git a/draw.h b/draw.h index 4fcded8..daccfde 100644 --- a/draw.h +++ b/draw.h @@ -7,4 +7,4 @@ void draw(Window *win); #endif -// vim: set ts=4 sw=4 et +// vim: ts=4 sw=4 et diff --git a/x11.c b/x11.c index f95d4f5..26ae535 100644 --- a/x11.c +++ b/x11.c @@ -99,7 +99,7 @@ cairo_t *window_get_context(Window *win) double window_get_scale(Window *win) { - return MAX(1, win->dpi/96.); + return MAX(1, win->dpi/96.); } void window_paint_surface(Window *win, cairo_surface_t *surface, int width, int height) @@ -121,9 +121,9 @@ void window_destroy(Window *win) { cairo_destroy(win->cr); cairo_surface_destroy(win->surface); - xcb_xrm_database_free(win->database); + xcb_xrm_database_free(win->database); xcb_disconnect(win->connection); g_free(win); } -// vim: set ts=4 sw=4 et +// vim: ts=4 sw=4 et diff --git a/x11.h b/x11.h index ce21a6d..ca26617 100644 --- a/x11.h +++ b/x11.h @@ -17,4 +17,4 @@ void window_destroy(Window *win); #endif -// vim: set ts=4 sw=4 et +// vim: ts=4 sw=4 et -- cgit v1.2.3