]> git.lyx.org Git - lyx.git/blobdiff - src/lengthcommon.cpp
Assure correct spacing of colored items in mathed
[lyx.git] / src / lengthcommon.cpp
index 9665e09fe2c95a8a54d780fee444d9a3fb91bb17..4478d84ae5da41acdf531b91669d7b85d379b1fb 100644 (file)
@@ -204,13 +204,13 @@ LaTeXLength table[] = {
 };
 
 
-} // namespace anon
+} // namespace
 
 
 const char * stringFromUnit(int unit)
 {
        if (unit < 0 || unit > num_units)
-               return 0;
+               return nullptr;
        return unit_name[unit];
 }