mirror of
https://github.com/zoriya/ags.git
synced 2026-06-05 19:34:24 +00:00
fix buffer too small error (#110)
This commit is contained in:
@@ -47,7 +47,7 @@ export default class AgsLabel extends Gtk.Label {
|
||||
Pango.parse_markup(label, label.length, '0');
|
||||
} catch (e) {
|
||||
if (e instanceof GLib.MarkupError)
|
||||
label = GLib.markup_escape_text(label, label.length);
|
||||
label = GLib.markup_escape_text(label, -1);
|
||||
else
|
||||
logError(e as Error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user