[LyX/master] Fix #11520 Wrong inpute encoding when master and child use different setting.

Scott Kostyshak skostysh at lyx.org
Tue Dec 10 14:19:17 UTC 2019


On Tue, Dec 10, 2019 at 01:26:56PM -0000, Guenter Milde wrote:
> On 2019-12-09, Scott Kostyshak wrote:
> > On Mon, Mar 18, 2019 at 06:13:40PM +0100, Günter Milde wrote:
> >> commit 553bebc3550f932ca3c25bbd4ae3905b60026b3c
> >> Author: Günter Milde <milde at lyx.org>
> >> Date:   Mon Mar 18 18:16:40 2019 +0100
> 
> >>     Fix #11520 Wrong inpute encoding when master and child use different setting.
> >> ---
> 
> > I get a crash starting with this commit. To reproduce:
> 
> >   1. Save both of the attached files of this email to the same directory.
> >   2. In LyX, turn instant preview to "on" in Preferences.
> >   3. Open mwe.lyx.
> 
> > LyX gives a SIGSEGV on opening the file.
> 
> > Attached is a patch. I don't know if it makes sense. It attempts to keep
> > the desired behavior of 553bebc3 except when oldEnc is 0. Günter can you
> > have a look?
> 
> The patch looks good to me.

Thanks for taking a look. It's in at c6147230.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20191210/9390a5e5/attachment.asc>


More information about the lyx-devel mailing list