fix: Wrap format pre/suffix within cmd

This commit is contained in:
Michael Carlberg
2016-12-05 05:32:10 +01:00
parent 1a48f825d1
commit 3854515521
7 changed files with 38 additions and 21 deletions

View File

@ -503,8 +503,10 @@ void builder::cmd(mousebtn index, string action, bool condition) {
/**
* Close command tag
*/
void builder::cmd_close() {
tag_close(syntaxtag::A);
void builder::cmd_close(bool condition) {
if (condition) {
tag_close(syntaxtag::A);
}
}
/**