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