[vte] emulation: Use the correct enum



commit eeb80ac1403546034478ce80d6f53cb9c43a735b
Author: Christian Persch <chpe src gnome org>
Date:   Sun Jan 31 23:10:29 2021 +0100

    emulation: Use the correct enum

 src/vteseq.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/vteseq.cc b/src/vteseq.cc
index 766a03e8..be1e52bd 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -3659,9 +3659,9 @@ Terminal::DECRQM_DEC(vte::parser::Sequence const& seq)
 
         int value;
         switch (mode) {
-        case vte::terminal::modes::ECMA::eUNKNOWN:      value = 0; break;
-        case vte::terminal::modes::ECMA::eALWAYS_SET:   value = 3; break;
-        case vte::terminal::modes::ECMA::eALWAYS_RESET: value = 4; break;
+        case vte::terminal::modes::Private::eUNKNOWN:      value = 0; break;
+        case vte::terminal::modes::Private::eALWAYS_SET:   value = 3; break;
+        case vte::terminal::modes::Private::eALWAYS_RESET: value = 4; break;
         default: assert(mode >= 0); value = m_modes_private.get(mode) ? 1 : 2; break;
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]