Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Jul 10, 2024
1 parent fa3894e commit 0829120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libwaysip/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl LayerSurfaceInfo {
(width, height): (i32, i32),
(start_x, start_y): (i32, i32),
name: &str,
descriptin: &str,
description: &str,
) {
let cairoinfo = &self.cairo_t;
cairoinfo.set_operator(cairo::Operator::Source);
Expand All @@ -34,7 +34,7 @@ impl LayerSurfaceInfo {
desc.set_size(font_size * pango::SCALE);
pangolayout.set_font_description(Some(&desc));

let name_txt = format!("{name} {descriptin}");
let name_txt = format!("{name} {description}");
pangolayout.set_text(&name_txt);
cairoinfo.save().unwrap();
cairoinfo.move_to(10., 60.);
Expand Down

0 comments on commit 0829120

Please sign in to comment.