From b28bc03767fd22dafea845aa4a23f295a6335182 Mon Sep 17 00:00:00 2001
From: "John Ankarstr\\xf6m" <john@ankarstrom.se>
Date: Fri, 4 Jun 2021 13:37:01 +0200
Subject: xbattext.ms: Add link to repository, fix typos

---
 xbattext.ms  |  18 ++++++++++--------
 xbattext.pdf | Bin 75081 -> 75110 bytes
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/xbattext.ms b/xbattext.ms
index e01225f..8f2f2e1 100644
--- a/xbattext.ms
+++ b/xbattext.ms
@@ -29,8 +29,10 @@ This document is a commented version of the
 source code.
 It is generated with
 .I re ,
-a reference-based literate programming system available at the WWW address
+a reference-based literate programming system available at
 http://git.\:ankarstrom.se/re/.
+The uncommented source code is hosted at
+http://git.\:ankarstrom.se/x11/xbattext/.
 .PP
 If you want to see a screenshot of
 .I xbattext ,
@@ -261,12 +263,12 @@ To begin with, the label string is set to the
 value defined earlier.
 .Re xbattext.c:/^	\/\* check charging status/
 .LP
-The bits
+The
 .CW SET_CHARGE
-and
-.CW SET_\:NOCHARGE
-are added to the
-.I charge
+or
+.CW SET_NO\:CHARGE
+bit is added to the
+.I change
 bitmap when a change in
 .I info.ac_\:state
 is detected.
@@ -300,10 +302,10 @@ but the AC adapter is still plugged in.
 (Remember that
 the
 .I change
-variable reflects a
+bitmap reflects a
 .B change
 in state.
-It does not reflect the
+It does not reflect the current
 .B state .)
 .Re xbattext.c:/^	\/\* act on state changes/
 .LP
diff --git a/xbattext.pdf b/xbattext.pdf
index 3455c94..90e5f5c 100644
Binary files a/xbattext.pdf and b/xbattext.pdf differ
-- 
cgit v1.2.3