]> git.lyx.org Git - features.git/commit
Fix thinko in Buffer::makeLaTeXFile
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 3 Nov 2006 10:35:41 +0000 (10:35 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 3 Nov 2006 10:35:41 +0000 (10:35 +0000)
commitb67e9338695c98e34774cc8a40916174169cbe2b
treea09ae62c82cf90ff5b9d0e5e40afdc059edddadc
parent4416bb3609c10970eabaace6a62830728e4790a9
Fix thinko in Buffer::makeLaTeXFile
* src/encoding.[Ch]
(getEncoding): rename to getFromLyXName
(getFromLaTeXName): new, it does what the name says

* src/buffer.C
(Buffer::makeLaTeXFile): Fix crash by using getFromLaTeXName instead
of getFromLyXName.
Avoid crash for unknown encodings.

* src/language.C
(Languages::read): Adjust to name change above

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15703 a592a061-630c-0410-9148-cb99ea01b6c8
src/buffer.C
src/encoding.C
src/encoding.h
src/language.C