* src/ls.c: Use right-alignment for the list of months
to make it more visually aligned. Locales which have names
with fixed lengths will not be affected.
---
 src/ls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ls.c b/src/ls.c
index 243c186..e73e29a 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -1132,7 +1132,7 @@ abmon_init (char abmon[12][ABFORMAT_SIZE])
           if (strchr (abbr, '%'))
             return false;
           size_t req = mbsalign (abbr, abmon[i], ABFORMAT_SIZE,
-                                 &width, MBS_ALIGN_LEFT, 0);
+                                 &width, MBS_ALIGN_RIGHT, 0);
           if (! (req < ABFORMAT_SIZE))
             return false;
           required_mon_width = MAX (required_mon_width, width);
--
2.18.1


Reply via email to