]> git.lyx.org Git - features.git/commitdiff
Add comment in lstrings.h
authorPavel Sanda <sanda@lyx.org>
Sun, 15 Jul 2012 21:25:34 +0000 (23:25 +0200)
committerPavel Sanda <sanda@lyx.org>
Sun, 15 Jul 2012 21:25:58 +0000 (23:25 +0200)
src/support/lstrings.h

index 52b6ee35969f79630ae9f3bea166eae8f8d3b423..23ac71216a1b1661df48aeaee8e603f745d93ae8 100644 (file)
@@ -229,6 +229,7 @@ docstring const ltrim(docstring const & a, char const * p = " ");
     will be the whole of the string if no delimiter is found.
     The return value is what follows delim, if anything. So the return
     value is the null string if no delimiter is found.
+    'a' and 'piece' must be different variables.
     Examples:
     \code
     s1= "a;bc"; s2= ""