~mdw
/
sgt
/
charset
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Silly of me to overlook it: another obvious way you might like to
[sgt/charset]
/
hz.c
diff --git
a/hz.c
b/hz.c
index
dc42171
..
1266e7e
100644
(file)
--- a/
hz.c
+++ b/
hz.c
@@
-110,7
+110,7
@@
static int write_hz(charset_spec const *charset, long int input_chr,
return FALSE;
}
- if (state->s0 != desired_state) {
+ if (state->s0 !=
(unsigned)
desired_state) {
emit(emitctx, '~');
emit(emitctx, desired_state ? '{' : '}');
state->s0 = desired_state;