diff --git a/CHANGELOG.md b/CHANGELOG.md index 36124f4..07b0530 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.0] - 2022-09-17 +## [0.1.0] - 2022-11-03 ### Added diff --git a/src/GGrid.cpp b/src/GGrid.cpp index a819e8b..746596f 100644 --- a/src/GGrid.cpp +++ b/src/GGrid.cpp @@ -430,7 +430,7 @@ void GGrid::_UpdateLabels(Session *session) auto it = _textures.find(chunk); if (it == _textures.end()) { - std::string text{""}; + std::string text; for (const auto &word : chunk->words) { auto it = _pango_styles.find(word.hl_id); @@ -439,7 +439,6 @@ void GGrid::_UpdateLabels(Session *session) : it->second; text += "" + XmlEscape(word.text) + ""; } - text += ""; Texture t{row, Gtk::Label::new_("").g_obj()}; t.label.set_markup(text.c_str()); t.label.set_sensitive(false);