mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
Fix minor typos
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_BASENAME
|
||||
#include <string.h>
|
||||
|
||||
char*
|
||||
basename(char *p)
|
||||
{
|
||||
|
||||
+1
-1
@@ -220,7 +220,7 @@ struct string_stream {
|
||||
} ;
|
||||
|
||||
/*
|
||||
* sneakily back-define the published interface (leaving the old functions for v2 compatability)
|
||||
* sneakily back-define the published interface (leaving the old functions for v2 compatibility)
|
||||
*/
|
||||
|
||||
#define mkd_in mkd3_in
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ function (in the module basename.c) is implemented by means of
|
||||
mkd callbacks; it modifies urls that start with a `/' so that
|
||||
they begin with a user-supplied url base by allocating a new
|
||||
string and filling it with the base + the url. Discount plugs
|
||||
that url in in place of the original, then calls the basename
|
||||
that url in place of the original, then calls the basename
|
||||
free function (it only does this when
|
||||
.Fn mkd_e_url
|
||||
or
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ enum { GFM, ADD_CSS, ADD_HEADER, ADD_FOOTER };
|
||||
struct h_opt opts[] = {
|
||||
{ GFM, "gfm",'G', 0, "Github style markdown" },
|
||||
{ ADD_CSS, "css", 0, "url", "Additional css for this page" },
|
||||
{ ADD_HEADER, "header", 0, "header", "Additonal headers for this page" },
|
||||
{ ADD_HEADER, "header", 0, "header", "Additional headers for this page" },
|
||||
{ ADD_FOOTER, "footer", 0, "footer", "Additional footers for this page" },
|
||||
};
|
||||
#define NROPTS (sizeof opts/sizeof opts[0])
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ void mkd_clr_flag_num(mkd_flag_t*, unsigned long);/* clear a specific flag */
|
||||
void mkd_set_flag_bitmap(mkd_flag_t*,long); /* set a bunch of flags */
|
||||
|
||||
/*
|
||||
* sneakily back-define the published interface (leaving the old functions for v2 compatability)
|
||||
* sneakily back-define the published interface (leaving the old functions for v2 compatibility)
|
||||
*/
|
||||
|
||||
#define mkd_in mkd3_in
|
||||
|
||||
Reference in New Issue
Block a user