poke-devel
[Top][All Lists]
Advanced

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

[COMMITTED] doc: fix the example of saving SBM image


From: Mohammad-Reza Nabipoor
Subject: [COMMITTED] doc: fix the example of saving SBM image
Date: Fri, 3 Mar 2023 23:02:16 +0100

2023-03-03  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>

        * doc/poke.texi (Poking a SBM Image :: Saving the Image): Fix
        the example.
---
 ChangeLog     | 5 +++++
 doc/poke.texi | 9 ++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8620651f..3520ddda 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-03  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>
+
+       * doc/poke.texi (Poking a SBM Image :: Saving the Image): Fix
+       the example.
+
 2023-02-27  Frederic Cambus <fred@statdns.com>
 
        * INSTALL: Remove section about building the GUI.
diff --git a/doc/poke.texi b/doc/poke.texi
index a13325b6..fcf25a01 100644
--- a/doc/poke.texi
+++ b/doc/poke.texi
@@ -3674,14 +3674,13 @@ pixel occupies 3 bytes, so calculating@dots{}
 @example
 (poke) var ppl = byte @@ 3#B
 (poke) var lines = byte @@ 4#B
-(poke) save :from 0#B :size 5#B + ppl#B * lines#B :file "p.sbm"
+(poke) save :from 0#B :size 5#B + ppl#B * lines :file "p.sbm"
 @end example
 
 @noindent
-Note how we expressed ``ppl bytes'' as @code{ppl#B}, and ``lines
-bytes'' as @code{lines#B}.  This is the same than expressing ``10
-bytes'' as @code{10#B}.  We will talk more about these united values
-later.
+Note how we expressed ``ppl bytes'' as @code{ppl#B}.
+This is the same than expressing ``10 bytes'' as @code{10#B}.
+We will talk more about these united values later.
 
 There is another way of getting the size of the stream of pixels.
 Recall that we have the entire set of pixels, structured as lines,
-- 
2.39.1




reply via email to

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