diff options
Diffstat (limited to 'pith/filter.c')
-rw-r--r-- | pith/filter.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/pith/filter.c b/pith/filter.c index 6288606..66abe42 100644 --- a/pith/filter.c +++ b/pith/filter.c @@ -976,8 +976,8 @@ gf_pipe(gf_io_t gc, gf_io_t pc) #ifdef _WINDOWS if(!(gf_byte_count & 0x3ff)) /* Under windows we yield to allow event processing. - * Progress display is handled throught the alarm() - * mechinism. + * Progress display is handled through the alarm() + * mechanism. */ mswin_yield (); #endif @@ -1017,7 +1017,7 @@ gf_bytes_piped(void) * pc -- function to write filtered output with * aux_filters -- additional filters to pass data thru after "cmd" * - * Returns: NULL on sucess, reason for failure (not alloc'd!) on error + * Returns: NULL on success, reason for failure (not alloc'd!) on error */ char * gf_filter(char *cmd, char *prepend, STORE_S *source_so, gf_io_t pc, @@ -2392,7 +2392,7 @@ gf_rich2plain(FILTER_S *f, int flg) { static int rich_bold_on = 0, rich_uline_on = 0; -/* BUG: qoute incoming \255 values */ +/* BUG: quote incoming \255 values */ GF_INIT(f, f->next); if(flg == GF_DATA){ @@ -2567,7 +2567,7 @@ gf_enriched2plain(FILTER_S *f, int flg) { static int enr_uline_on = 0, enr_bold_on = 0; -/* BUG: qoute incoming \255 values */ +/* BUG: quote incoming \255 values */ GF_INIT(f, f->next); if(flg == GF_DATA){ @@ -2919,8 +2919,8 @@ typedef struct _html_opts { unsigned handles_loc:1; /* Local handles requested? */ unsigned showserver:1; /* Display server after anchors */ unsigned outputted:1; /* any */ - unsigned no_relative_links:1; /* Disable embeded relative links */ - unsigned related_content:1; /* Embeded related content */ + unsigned no_relative_links:1; /* Disable embedded relative links */ + unsigned related_content:1; /* Embedded related content */ unsigned html:1; /* Output content in HTML */ unsigned html_imgs:1; /* Output IMG tags in HTML content */ } HTML_OPT_S; @@ -3609,7 +3609,7 @@ static ELPROP_S html_element_table[] = { {"SAMP", 4, html_samp}, /* Sample Text (NO OP) */ {"CITE", 4, html_cite}, /* Citation (NO OP) */ {"CODE", 4, html_code}, /* Code Text (NO OP) */ - {"INS", 3, html_ins}, /* Text Inseted (NO OP) */ + {"INS", 3, html_ins}, /* Text Inserted (NO OP) */ {"DEL", 3, html_del}, /* Text Deleted (NO OP) */ {"SUP", 3, html_sup}, /* Text Superscript (NO OP) */ {"SUB", 3, html_sub}, /* Text Superscript (NO OP) */ @@ -3644,8 +3644,8 @@ static ELPROP_S html_element_table[] = { {"THEAD", 5, html_thead}, /* Table Table Head */ {"TBODY", 5, html_tbody}, /* Table Table Body */ {"TFOOT", 5, html_tfoot}, /* Table Table Foot */ - {"COL", 3, html_col}, /* Table Column Attibutes */ - {"COLGROUP", 8, html_colgroup}, /* Table Column Group Attibutes */ + {"COL", 3, html_col}, /* Table Column Attributes */ + {"COLGROUP", 8, html_colgroup}, /* Table Column Group Attributes */ {NULL, 0, NULL} }; @@ -3745,7 +3745,7 @@ html_pop(FILTER_S *fd, ELPROP_S *ep) /* - * Deal with data passed a hander in its GF_DATA state + * Deal with data passed a handler in its GF_DATA state */ static void html_handoff(HANDLER_S *hd, int ch) @@ -5637,7 +5637,7 @@ html_ol(HANDLER_S *hd, int ch, int cmd) else{ PARAMETER *p; /* - * Signal that we're expecting to see <LI> as our next elemnt + * Signal that we're expecting to see <LI> as our next element * and set the the initial ordered count. */ hd->x = 1L; /* set default */ @@ -6463,7 +6463,7 @@ html_pre(HANDLER_S *hd, int ch, int cmd) /* - * HTML <CENTER> (Centerd Text) element handler + * HTML <CENTER> (Centered Text) element handler */ int html_center(HANDLER_S *hd, int ch, int cmd) @@ -7405,7 +7405,7 @@ html_element_collector(FILTER_S *fd, int ch) /* * Remember the comment for possible later processing, if - * it get's too long, remember first and last few chars + * it gets too long, remember first and last few chars * so we know when to terminate (and throw some garbage * in between when we toss out what's between. */ @@ -7887,7 +7887,7 @@ html_entity_collector(FILTER_S *f, int ch, UCS *ucs, char **alt) void gf_html2plain(FILTER_S *f, int flg) { -/* BUG: qoute incoming \255 values (see "yuml" above!) */ +/* BUG: quote incoming \255 values (see "yuml" above!) */ if(flg == GF_DATA){ register int c; GF_INIT(f, f->next); |