]> git.lyx.org Git - lyx.git/blobdiff - src/lengthcommon.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / lengthcommon.h
index 23d7bf69f703a94aa45fbeec0eb6e34dd439237f..ef74e411b7bc1ab7931eab69dfd86ad46feffa81 100644 (file)
@@ -26,9 +26,9 @@ extern int const num_units;
  *
  * FIXME: I am not sure if "mu" should be possible to select (Lgb)
  */
-extern char const * unit_name[];
-extern char const * unit_name_gui[];
-extern char const * unit_name_ltx[];
+extern char const * const unit_name[];
+extern char const * const unit_name_gui[];
+extern char const * const unit_name_ltx[];
 
 /// return the unit given a string representation such as "cm"
 LyXLength::UNIT unitFromString(std::string const & data);