gbranden pushed a commit to branch master
in repository groff.
commit 3db413076064d795704f1057544a415e3c68e0b8
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jul 8 15:02:24 2025 -0500
[gropdf]: Trivially refactor.
* src/devices/gropdf/gropdf.pl (LoadDownload): Rename scalar
`anyDownloadFilefound` to `anyDownloadFileFound` for proper camel
casery.
---
ChangeLog | 6 ++++++
src/devices/gropdf/gropdf.pl | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b5ff3e841..d99a6d370 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-07-08 G. Branden Robinson <[email protected]>
+
+ * src/devices/gropdf/gropdf.pl (LoadDownload): Trivially
+ refactor. Rename scalar `anyDownloadFilefound` to
+ `anyDownloadFileFound` for proper camel casery.
+
2025-07-08 G. Branden Robinson <[email protected]>
[troff]: Trivially refactor, continuing naming reform of
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 3a76def36..9175f86e0 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -1176,7 +1176,7 @@ sub ToPoints
# _stops_ at the first file successfully opened.
sub LoadDownload
{
- my $anyDownloadFilefound=0;
+ my $anyDownloadFileFound=0;
my (@dirs)=split($cfg{RT_SEP},$fontPath);
foreach my $dir (@dirs)
@@ -1187,7 +1187,7 @@ sub LoadDownload
Notice("cannot open '$downloadFile': $!");
next;
}
- $anyDownloadFilefound=1;
+ $anyDownloadFileFound=1;
Notice("reading '$downloadFile'");
while (<DL>)
@@ -1223,7 +1223,7 @@ sub LoadDownload
close(DL);
}
- Die("no 'download' files found") if !$anyDownloadFilefound;
+ Die("no 'download' files found") if !$anyDownloadFileFound;
}
# Locate and open a file in the groff font directory search path.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit