~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More portable attempt to get a literal U+0027 than r8321, pinched from pod2man
[sgt/halibut]
/
contents.c
diff --git
a/contents.c
b/contents.c
index
35143cd
..
2acf81e
100644
(file)
--- a/
contents.c
+++ b/
contents.c
@@
-69,7
+69,7
@@
static void dospace(word ***wret) {
static void donumber(word ***wret, int num) {
wchar_t text[20];
static void donumber(word ***wret, int num) {
wchar_t text[20];
- wchar_t *p = text +
size
of(text);
+ wchar_t *p = text +
len
of(text);
*--p = L'\0';
while (num != 0) {
assert(p > text);
*--p = L'\0';
while (num != 0) {
assert(p > text);
@@
-93,7
+93,7
@@
static void doanumber(word ***wret, int num) {
else
aton = INT_MAX;
}
else
aton = INT_MAX;
}
- p = text +
size
of(text);
+ p = text +
len
of(text);
*--p = L'\0';
while (nletters--) {
assert(p > text);
*--p = L'\0';
while (nletters--) {
assert(p > text);