sizeof(citeCommands) / sizeof(char *);
CiteStyle const citeStylesArray[] = {
- CITE, NOCITE, CITET, CITEP, CITEALT,
- CITEALP, CITEAUTHOR, CITEYEAR, CITEYEARPAR };
+ CITE, CITET, CITEP, CITEALT, CITEALP,
+ CITEAUTHOR, CITEYEAR, CITEYEARPAR, NOCITE };
unsigned int const nCiteStyles =
sizeof(citeStylesArray) / sizeof(CiteStyle);
size_t const n = cmd.size() - 1;
if (cmd != "cite" && cmd[n] == '*') {
s.full = true;
- cmd = cmd.substr(0,n);
+ cmd = cmd.substr(0, n);
}
char const * const * const last = citeCommands + nCiteCommands;