texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/Texinfo/Translations.pm: minor change in cod


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Translations.pm: minor change in code style.
Date: Fri, 07 Jan 2022 18:56:24 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new b49aefcc58 * tp/Texinfo/Translations.pm: minor change in code style.
b49aefcc58 is described below

commit b49aefcc58531c5512bdd482919d1d553161ddd8
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Jan 8 00:55:43 2022 +0100

    * tp/Texinfo/Translations.pm: minor change in code style.
---
 tp/Texinfo/Translations.pm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tp/Texinfo/Translations.pm b/tp/Texinfo/Translations.pm
index d24827f617..e52d67b451 100644
--- a/tp/Texinfo/Translations.pm
+++ b/tp/Texinfo/Translations.pm
@@ -294,11 +294,10 @@ sub complete_indices
   my $self = shift;
 
   foreach my $index_name (keys(%{$self->{'index_names'}})) {
-    next if !defined $self->{'index_names'}->{$index_name}->{'index_entries'};
+    next if (not 
defined($self->{'index_names'}->{$index_name}->{'index_entries'}));
     foreach my $entry 
(@{$self->{'index_names'}->{$index_name}->{'index_entries'}}) {
       $entry->{'in_code'} = $self->{'index_names'}->{$index_name}->{'in_code'};
-      
-      if (!defined $entry->{'content'}) {
+      if (not defined($entry->{'content'})) {
         my ($index_entry, $index_contents_normalized);
         my $def_command = $entry->{'command'}->{'extra'}->{'def_command'};
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]