Merge pull request #1899 from Airblader/bug-swallowed-percent
Fix incorrect swallow of percent sign
This commit is contained in:
commit
5370678d81
|
@ -396,6 +396,8 @@ i3String *window_parse_title_format(i3Window *win) {
|
||||||
} else if (STARTS_WITH(walk + 1, "instance")) {
|
} else if (STARTS_WITH(walk + 1, "instance")) {
|
||||||
outwalk += sprintf(outwalk, "%s", escaped_instance);
|
outwalk += sprintf(outwalk, "%s", escaped_instance);
|
||||||
walk += strlen("instance");
|
walk += strlen("instance");
|
||||||
|
} else {
|
||||||
|
*(outwalk++) = *walk;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*outwalk = '\0';
|
*outwalk = '\0';
|
||||||
|
|
Loading…
Reference in New Issue