[PATCH] fix the wrong order of lines and columns parameter

Jekyll Wu adaptee at gmail.com
Sat Jul 16 14:56:23 UTC 2011


---
 src/Vt102Emulation.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Vt102Emulation.cpp b/src/Vt102Emulation.cpp
index ef61e0f..98e4b4e 100644
--- a/src/Vt102Emulation.cpp
+++ b/src/Vt102Emulation.cpp
@@ -540,7 +540,7 @@ void Vt102Emulation::processToken(int token, int p, int q)
     case TY_ESC_DE('8'      ) : _currentScreen->helpAlign            (          ); break;
 
 // resize = \e[8;<row>;<col>t
-    case TY_CSI_PS('t',   8) : setImageSize( q /* columns */, p /* lines */ );    break;
+    case TY_CSI_PS('t',   8) : setImageSize( p /* lines */, q /* columns */ );    break;
 
 // change tab text color : \e[28;<color>t  color: 0-16,777,215
     case TY_CSI_PS('t',   28) : emit changeTabTextColorRequest      ( p        );          break;
-- 
1.7.6


--------------050000000004080607070104--



More information about the konsole-devel mailing list