]> git.lyx.org Git - lyx.git/blobdiff - src/trans.C
citation patch from Angus
[lyx.git] / src / trans.C
index c35a99530fecc39d9ca4b51e8feba77912c599bd..066694fc2b1c7a676b8988bf1752bd7a085a3819 100644 (file)
@@ -12,6 +12,8 @@
 #include "debug.h"
 #include "trans_mgr.h"
 
+using std::endl;
+
 
 // KmodInfo
 KmodInfo::KmodInfo()
@@ -148,7 +150,7 @@ void Trans::AddDeadkey(tex_accent accent, string const & keys,
        kmod_list_[accent] = new kmod_list_decl;
        kmod_list_[accent]->data = keys;
        kmod_list_[accent]->accent = accent;
-       if (allowed == "all") { 
+       if (allowed == "native") { 
                kmod_list_[accent]->allowed= lyx_accent_table[accent].native;
        } else { 
                kmod_list_[accent]->allowed = allowed;
@@ -369,7 +371,7 @@ int Trans::Load(string const & language)
        if (res == 0) {
                name_ = language;
        } else
-               name_.clear();
+               name_.erase();
 
        return res;
 }