mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
fix crash by using string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7009 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ccce6b9662
commit
cfead52093
@ -1,3 +1,7 @@
|
||||
2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||
|
||||
* insetspecialchar.C (dimension): use a string.
|
||||
|
||||
2003-05-22 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* inset*.[Ch] (latex):
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user