From ac2c117fc27e70ea1d623f39266dbc1239919296 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 18 Jun 2024 02:32:56 +0200 Subject: [PATCH] nstrftime: Correct indentation. * lib/strftime.c (__strftime_internal): Correct indentation of preprocessor directives. --- ChangeLog | 6 ++++++ lib/strftime.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2ae4064d4f..9dc5edff7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-06-17 Bruno Haible + + nstrftime: Correct indentation. + * lib/strftime.c (__strftime_internal): Correct indentation of + preprocessor directives. + 2024-06-17 Paul Eggert nstrftime: improve fix for NetBSD link errors diff --git a/lib/strftime.c b/lib/strftime.c index 2db6603a23..db59d65d05 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -1351,11 +1351,11 @@ __strftime_internal (STREAM_OR_CHAR_T *s, STRFTIME_ARG (size_t maxsize) locale_t locale = c_locale (); if (!locale) return 0; /* errno is set here */ -# if HAVE_STRFTIME_LZ +# if HAVE_STRFTIME_LZ len = strftime_lz (tz, ubuf, sizeof ubuf, ufmt, tp, locale); -# else +# else len = strftime_l (ubuf, sizeof ubuf, ufmt, tp, locale); -# endif +# endif # else # if HAVE_STRFTIME_Z len = strftime_z (tz, ubuf, sizeof ubuf, ufmt, tp); -- 2.39.5