}
// split linked list
- line->prev->next = (void*)0;
- line->prev = (void*)0;
+ line->prev->next = NULL;
+ line->prev = NULL;
// remove header lines from slide
deck->slide->line = line;
if(text->text[i] == ' ') {
spaces++;
- } else if(CHECK_BIT(bits, IS_CODE)) {
- other++;
-
} else {
switch(text->text[i]) {
case '=': equals++; break;
}
}
-int is_utf8(char ch) {
- return (ch & 0x80);
+bool is_utf8(char ch) {
+ return (ch & 0x80) != 0x00;
}
int length_utf8(char ch) {