summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2023-09-25 19:01:42 +0200
committerpgen <p.gen.progs@gmail.com>2023-09-25 19:01:42 +0200
commit89990cc95ed6ccdcdf104ee725791989f16f9c78 (patch)
tree4964c7d0b789217f45bf929d18c61f362091f7ef
parent55aebed2e804a4c89be0c6c4fa80361fe0442145 (diff)
Correct a misleading comment
-rw-r--r--smenu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/smenu.c b/smenu.c
index 866ecbb..fbc64c5 100644
--- a/smenu.c
+++ b/smenu.c
@@ -3899,9 +3899,8 @@ build_metadata(term_t *term, long count, win_t *win)
tab_count++; /* We've seen another word in the line/ */
}
- /* If not in column mode, we need to calculate win->(real_)max_width */
- /* as it hasn't been already done. */
- /* """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */
+ /* Update win->(real_)max_width if necessary. */
+ /* """""""""""""""""""""""""""""""""""""""""" */
if (len > win->max_width)
{
/* Update the effective line width. */