pinosaur
/
smdp.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for bool type.
[smdp.git]
/
src
/
parser.c
diff --git
a/src/parser.c
b/src/parser.c
index
6294500
..
ce3f702
100644
(file)
--- a/
src/parser.c
+++ b/
src/parser.c
@@
-478,8
+478,8
@@
void markdown_debug(deck_t *deck, int debug) {
}
}
-
int
is_utf8(char ch) {
- return (ch & 0x80);
+
bool
is_utf8(char ch) {
+ return (ch & 0x80)
!= 0x00
;
}
int length_utf8(char ch) {