groff-commit
[Top][All Lists]
Advanced

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

[groff] 14/17: [grops]: Recast diagnostic message.


From: G. Branden Robinson
Subject: [groff] 14/17: [grops]: Recast diagnostic message.
Date: Sat, 17 Feb 2024 22:08:44 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 4f38ee49d33a6fe30ab8a97901626c5e15c119a5
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Feb 17 18:22:06 2024 -0600

    [grops]: Recast diagnostic message.
    
    * src/devices/grops/psrm.cpp (resource::resource): Spell "file name"
      thus in diagnostic message.  It's English, not C.
---
 ChangeLog                  | 5 +++++
 src/devices/grops/psrm.cpp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 8564c0a8e..8891546ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-02-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/devices/grops/psrm.cpp (resource::resource): Spell "file
+       name" thus in diagnostic message.  It's English, not C.
+
 2024-02-17  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/devices/grops/psrm.cpp (resource_manager::output_prolog):
diff --git a/src/devices/grops/psrm.cpp b/src/devices/grops/psrm.cpp
index 379ed9b6f..591d17c70 100644
--- a/src/devices/grops/psrm.cpp
+++ b/src/devices/grops/psrm.cpp
@@ -145,7 +145,7 @@ resource::resource(resource_type t, string &n, string &v, 
unsigned r)
   version.move(v);
   if (type == RESOURCE_FILE) {
     if (name.search('\0') >= 0)
-      error("filename contains a character with code 0");
+      error("file name contains character code 0");
     filename = name.extract();
   }
 }



reply via email to

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