]> git.lyx.org Git - features.git/commitdiff
fix constness of string literals
authorAndré Pönitz <poenitz@gmx.net>
Sat, 15 Nov 2008 17:40:05 +0000 (17:40 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Sat, 15 Nov 2008 17:40:05 +0000 (17:40 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27467 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetCitation.cpp

index 597131aed3bede3a83fda596c5137457cb16c92f..da075faf0b8a101671a0cc8dcded97c3c676561f 100644 (file)
@@ -194,7 +194,7 @@ docstring complexLabel(Buffer const & buffer,
 
        // One day, these might be tunable (as they are in BibTeX).
        char op, cp;    // opening and closing parenthesis.
-       char * sep;     // punctuation mark separating citation entries.
+       const char * sep;       // punctuation mark separating citation entries.
        if (engine == ENGINE_BASIC) {
                op  = '[';
                cp  = ']';