diff --git a/patch/bar_status2d.c b/patch/bar_status2d.c index 860fd83..8f6a3f0 100644 --- a/patch/bar_status2d.c +++ b/patch/bar_status2d.c @@ -96,6 +96,7 @@ drawstatusbar(BarArg *a, char* stext) #else memcpy(text, stext, len); #endif // BAR_STATUSCMD_PATCH + text[len] = '\0'; x += lrpad / 2; drw_setscheme(drw, scheme[LENGTH(colors)]);