]> git.ipfire.org Git - thirdparty/gettext.git/commit
msgfmt: Fix python-brace-format checking.
authorBruno Haible <bruno@clisp.org>
Tue, 31 Dec 2024 23:49:01 +0000 (00:49 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 31 Dec 2024 23:49:01 +0000 (00:49 +0100)
commit0ee87eb94f2caf13bf20be6a1024e18661f8a5fb
tree41a7f5ffdeaa3e46a24be0c3eefc8e4d94a49a00
parent8b3b5da63ab8a37d7f30c422cdd62b03e47ee1c6
msgfmt: Fix python-brace-format checking.

Reported at <https://savannah.gnu.org/bugs/index.php?48872>.

* gettext-tools/src/format-python-brace.c (format_check): Fix comment. Do the
cmp > 0 check also if equality==false.
* gettext-tools/src/format-python.c (format_check): Fix comment.
* gettext-tools/src/format-ruby.c (format_check): Likewise.
* gettext-tools/src/format-sh.c (format_check): Likewise.
gettext-tools/src/format-python-brace.c
gettext-tools/src/format-python.c
gettext-tools/src/format-ruby.c
gettext-tools/src/format-sh.c