diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 43dc2e3979..9cc1b43f53 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2003-05-22 Lars Gullik Bjønnes + + * insetspecialchar.C (dimension): use a string. + 2003-05-22 Angus Leeming * inset*.[Ch] (latex): diff --git a/src/insets/insetspecialchar.C b/src/insets/insetspecialchar.C index 72b0877e55..e5f2536ca8 100644 --- a/src/insets/insetspecialchar.C +++ b/src/insets/insetspecialchar.C @@ -44,7 +44,7 @@ void InsetSpecialChar::dimension(BufferView *, LyXFont const & font, dim.a = font_metrics::maxAscent(font); dim.d = font_metrics::maxDescent(font); - char const * s = 0; + string s; switch (kind_) { case LIGATURE_BREAK: s = "|"; break; case END_OF_SENTENCE: s = "."; break;