]> git.lyx.org Git - lyx.git/blobdiff - src/support/lstrings.h
the freespacing patch from Kayvan, draw the math empty delim with onoffdash, asure...
[lyx.git] / src / support / lstrings.h
index e962920ff481f065a7ab4c1115d9016d2d6f702d..1ddf0b71a479e58dd424b9f85a73d3630e7e3cb3 100644 (file)
@@ -28,14 +28,16 @@ int compare_no_case(string const & s, string const & s2);
 int compare_no_case(string const & s, string const & s2, unsigned int len);
 
 ///
-inline int compare(char const * a, char const * b)
+inline
+int compare(char const * a, char const * b)
 {
        return strcmp(a, b);
 }
 
 
 ///
-inline int compare(char const * a, char const * b, unsigned int len)
+inline
+int compare(char const * a, char const * b, unsigned int len)
 {
        return strncmp(a, b, len);
 }
@@ -55,7 +57,8 @@ string uppercase(string const &);
 
 /// convert T to string
 template<typename T>
-inline string tostr(T const & t) 
+inline
+string tostr(T const & t) 
 {
 #ifdef HAVE_SSTREAM
        ostringstream ostr;
@@ -63,7 +66,7 @@ inline string tostr(T const & t)
        return ostr.str().c_str();
        // We need to use the .c_str since we sometimes are using
        // our own string class and that is not compatible with
-       // basic_string<char>.
+       // basic_string<char>. (of course we don't want this later)
 #else
        // The buf is probably a bit large, but if we want to be safer
        // we should leave it this big. As compiler/libs gets updated