diff --git a/top/top.c b/top/top.c index 56b3d490..60613ca9 100644 --- a/top/top.c +++ b/top/top.c @@ -659,7 +659,7 @@ static void capsmk (WIN_t *q) { } else { q->capclr_sum[0] = '\0'; #ifdef USE_X_COLHDR - snprintf(q->capclr_msg, sizeof(q->capclr_pmt), "%s%s" + snprintf(q->capclr_msg, sizeof(q->capclr_msg), "%s%s" , Cap_reverse, q->cap_bold); #else STRLCPY(q->capclr_msg, Cap_reverse)