From 0f1cfdec617d122afbc87eb6466d5d2e5c348259 Mon Sep 17 00:00:00 2001 From: Mykyta Holubakha Date: Sun, 24 Apr 2016 20:35:21 +0300 Subject: Renamed to pango_markup --- swaybar/render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swaybar/render.c') diff --git a/swaybar/render.c b/swaybar/render.c index b9ef2242..273bd4f0 100644 --- a/swaybar/render.c +++ b/swaybar/render.c @@ -278,9 +278,9 @@ void render(struct output *output, struct config *config, struct status_line *li int width, height; if (line->protocol == TEXT) { - get_text_size(window->cairo, window->font, &width, &height, config->plaintext_markup, "%s", line->text_line); + get_text_size(window->cairo, window->font, &width, &height, config->pango_markup, "%s", line->text_line); cairo_move_to(cairo, window->width - margin - width, margin); - pango_printf(window->cairo, window->font, config->plaintext_markup, "%s", line->text_line); + pango_printf(window->cairo, window->font, config->pango_markup, "%s", line->text_line); } else if (line->protocol == I3BAR && line->block_line) { double pos = window->width - 0.5; bool edge = true; -- cgit v1.2.3