Skip to content

Commit

Permalink
ddoc strings const correct
Browse files Browse the repository at this point in the history
  • Loading branch information
yebblies committed Mar 5, 2013
1 parent 0c2d8a9 commit 4d2aaa3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/doc.c
Expand Up @@ -109,7 +109,7 @@ int isIdTail(unsigned char *p);
int isIndentWS(unsigned char *p);
int utfStride(unsigned char *p);

static unsigned char ddoc_default[] = "\
static const char ddoc_default[] = "\
DDOC = <html><head>\n\
<META http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n\
<title>$(TITLE)</title>\n\
Expand Down Expand Up @@ -200,11 +200,11 @@ ESCAPES = /</&lt;/\n\
/&/&amp;/\n\
";

static char ddoc_decl_s[] = "$(DDOC_DECL ";
static char ddoc_decl_e[] = ")\n";
static const char ddoc_decl_s[] = "$(DDOC_DECL ";
static const char ddoc_decl_e[] = ")\n";

static char ddoc_decl_dd_s[] = "$(DDOC_DECL_DD ";
static char ddoc_decl_dd_e[] = ")\n";
static const char ddoc_decl_dd_s[] = "$(DDOC_DECL_DD ";
static const char ddoc_decl_dd_e[] = ")\n";


/****************************************************
Expand Down

0 comments on commit 4d2aaa3

Please sign in to comment.