]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
* Call metrics of the parameters with the correct font in MathMacros, for example
[lyx.git] / src / BiblioInfo.cpp
index 896d8fc4a8a1d895f1805c2641a47fdf3cb9fb1c..8f8523315d65d4b130eaf328c341091a5009f005 100644 (file)
@@ -434,8 +434,8 @@ unsigned int const nCiteCommands =
                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);
@@ -470,7 +470,7 @@ CitationStyle citationStyleFromString(string const & command)
        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;