chiark
/
gitweb
/
~bjharris
/
bedstead-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f68916e
)
Correct the size of the parameter to glyph_footprint()
author
Ben Harris
<bjh21@bjh21.me.uk>
Mon, 16 Dec 2024 22:27:24 +0000
(22:27 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Mon, 16 Dec 2024 22:27:24 +0000
(22:27 +0000)
bedstead.c
patch
|
blob
|
history
diff --git
a/bedstead.c
b/bedstead.c
index a92004eb13de8bb47d5032a3f9fcfa13ccd5123a..6a8b1083360398c0f127f57969c44682d33476ba 100644
(file)
--- a/
bedstead.c
+++ b/
bedstead.c
@@
-3586,12
+3586,12
@@
dosinglesubs(char const *suffix)
}
static int
-glyph_footprint(char data[
XSIZE-
1])
+glyph_footprint(char data[
YSIZE -
1])
{
int i;
int footprint = 0;
- for (i = 0; i < YSIZE
-
1; i++) footprint |= data[i];
+ for (i = 0; i < YSIZE
-
1; i++) footprint |= data[i];
return footprint;
}