version 1.106, 2018/08/16 13:54:06 |
version 1.107, 2018/08/20 18:06:56 |
Line 302 mandoc_escape(const char **end, const char **start, in |
|
Line 302 mandoc_escape(const char **end, const char **start, in |
|
|
|
switch (gly) { |
switch (gly) { |
case ESCAPE_FONT: |
case ESCAPE_FONT: |
if (2 == *sz) { |
if (*sz == 2) { |
if ('C' == **start) { |
if (**start == 'C') { |
/* |
/* |
* Treat constant-width font modes |
* Treat constant-width font modes |
* just like regular font modes. |
* just like regular font modes. |
Line 311 mandoc_escape(const char **end, const char **start, in |
|
Line 311 mandoc_escape(const char **end, const char **start, in |
|
(*start)++; |
(*start)++; |
(*sz)--; |
(*sz)--; |
} else { |
} else { |
if ('B' == (*start)[0] && 'I' == (*start)[1]) |
if ((*start)[0] == 'B' && (*start)[1] == 'I') |
gly = ESCAPE_FONTBI; |
gly = ESCAPE_FONTBI; |
break; |
break; |
} |
} |
} else if (1 != *sz) |
} else if (*sz != 1) { |
|
if (*sz == 0) |
|
gly = ESCAPE_FONTPREV; |
break; |
break; |
|
} |
|
|
switch (**start) { |
switch (**start) { |
case '3': |
case '3': |