Op 9-10-2011 0:13, [email protected] schreef:
Author: forenr
Date: Sun Oct  9 00:13:38 2011
New Revision: 39820
URL: http://www.lyx.org/trac/changeset/39820

Log:
Fix bug #7800 (Lyx cannot create dvi with Russian)


Modified: lyx-devel/trunk/src/Layout.cpp
==============================================================================
--- lyx-devel/trunk/src/Layout.cpp      Fri Oct  7 20:38:22 2011        (r39819)
+++ lyx-devel/trunk/src/Layout.cpp      Sun Oct  9 00:13:38 2011
+       char const s1[5] = {0xf3, 0xb0, 0x80, 0x80, 0x00}; // U+F0000
+       char const s2[5] = {0xf3, 0xb0, 0x80, 0x81, 0x00}; // U+F0001

Enrico,

MSVC comes up with 8 warnings that these values are truncated:
Layout.cpp(882): warning C4309: 'initializing' : truncation of constant value

Vincent

Reply via email to