diff options
author | Mykyta Holubakha <[email protected]> | 2016-04-24 20:35:21 +0300 |
---|---|---|
committer | Mykyta Holubakha <[email protected]> | 2016-04-24 20:35:21 +0300 |
commit | 0f1cfdec617d122afbc87eb6466d5d2e5c348259 (patch) | |
tree | 929117e8a3276b240b59262e0809eb51c949eb42 /swaybar/render.c | |
parent | ee4e245f167f0e5a859a03b06568c282d11b52d2 (diff) |
Renamed to pango_markup
Diffstat (limited to 'swaybar/render.c')
-rw-r--r-- | swaybar/render.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |