Rob Bearman wrote:
> I'm including my revised version of win32_kludge.diff.

Given that we have:
src/frontends/qt2/QLyXKeySym.C:
    typedef map<string, QTextCodec *> EncodingMap;
    EncodingMap encoding_map;

The change below is obviously an improvement, even though there's no reason
why a sane compiler shouldn't compile the original too.

Nonetheless, can I ask you to confirm that you need the change to compile
the code? (So I can laugh hysterically at your compiler :)

Angus

--- src/frontends/qt2/QLyXKeySym.C      7 Jul 2004 09:32:19 -0000       1.32
+++ src/frontends/qt2/QLyXKeySym.C      18 Apr 2005 17:37:02 -0000
@@ -74,7 +74,7 @@
 void initEncodings()
 {
        // when no document open
-       encoding_map[""] = QTextCodec::codecForLocale();
+       encoding_map[string()] = QTextCodec::codecForLocale();
 
        encoding_map["iso8859-1"] = QTextCodec::codecForName("ISO 8859-1");
        encoding_map["iso8859-2"] = QTextCodec::codecForName("ISO 8859-2");


Reply via email to