]> Savannah Git Hosting - gnulib.git/commitdiff
nstrftime: Correct indentation.
authorBruno Haible <bruno@clisp.org>
Tue, 18 Jun 2024 00:32:56 +0000 (02:32 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 18 Jun 2024 00:32:56 +0000 (02:32 +0200)
* lib/strftime.c (__strftime_internal): Correct indentation of
preprocessor directives.

ChangeLog
lib/strftime.c

index 2ae4064d4f3b1d68a1ab1994bbc5cae23fd44e03..9dc5edff7ecddddc51567ade50159fb489ee09ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-06-17  Bruno Haible  <bruno@clisp.org>
+
+       nstrftime: Correct indentation.
+       * lib/strftime.c (__strftime_internal): Correct indentation of
+       preprocessor directives.
+
 2024-06-17  Paul Eggert  <eggert@cs.ucla.edu>
 
        nstrftime: improve fix for NetBSD link errors
index 2db6603a2333140d8969333ce0c83de01b7c92be..db59d65d054a3e9e94bf9eca896f0e90018a9d52 100644 (file)
@@ -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);