From: Richard Heck Date: Sat, 1 Mar 2008 16:27:56 +0000 (+0000) Subject: Improve documentation. X-Git-Tag: 1.6.10~5965 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c3e4e47fb7b4a9fc905f27dbeb6c76a0bf724cfc;p=features.git Improve documentation. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23371 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/support/lstrings.h b/src/support/lstrings.h index 381e818f76..3519184743 100644 --- a/src/support/lstrings.h +++ b/src/support/lstrings.h @@ -92,12 +92,12 @@ docstring const lowercase(docstring const & s); /// Does not depend on the locale. docstring const uppercase(docstring const & s); -/// Does the string start with this prefix? -bool prefixIs(docstring const &, char_type); +/// Does str start with c? +bool prefixIs(docstring const & str, char_type c); -/// Does the std::string start with this prefix? -bool prefixIs(std::string const &, std::string const &); -bool prefixIs(docstring const &, docstring const &); +/// Does str start with pre? +bool prefixIs(std::string const & str, std::string const & pre); +bool prefixIs(docstring const & str, docstring const & pre); /// Does the string end with this char? bool suffixIs(std::string const &, char);