2 more patches from Dekel

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@782 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2000-05-31 08:47:26 +00:00
parent bdd630cd5a
commit bdc5b960b9
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,11 @@
2000-05-31 Dekel Tsur <dekel@math.tau.ac.il>
* src/lyxrc.C (read): Add a missing break in the switch
2000-05-30 Dekel Tsur <dekel@math.tau.ac.il>
* src/text2.C (InsertStringA): Fix a bug with insertion into table
* src/trans_mgr.C (insertVerbatim): Do not use insetquote when the
text is Hebrew.

View File

@ -1017,6 +1017,7 @@ int LyXRC::read(string const & filename)
case RC_MARK_FOREIGN_LANGUAGE:
if (lexrc.next())
mark_foreign_language = lexrc.GetBool();
break;
case RC_SHOW_BANNER:
if (lexrc.next())
show_banner = lexrc.GetBool();

View File

@ -2869,8 +2869,9 @@ void LyXText::InsertStringA(string const & str)
}
} else {
if (par->table) {
if (i + 1 >= str.length()) {
++pos;
if ((i + 1) >= str.length()) {
if (pos < par->size())
++pos;
break;
}
while((pos < par->size()) &&