Author: tfaber
Date: Sat May 3 13:58:02 2014
New Revision: 63131
URL:
http://svn.reactos.org/svn/reactos?rev=63131&view=rev
Log:
[TELNET]
- Use correct string length when reporting cursor position. Patch by Víctor Martínez
CORE-8147 #resolve
Modified:
trunk/reactos/base/applications/network/telnet/src/ansiprsr.cpp
Modified: trunk/reactos/base/applications/network/telnet/src/ansiprsr.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/telnet/src/ansiprsr.cpp [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/network/telnet/src/ansiprsr.cpp [iso-8859-1] Sat May
3 13:58:02 2014
@@ -709,7 +709,7 @@
case 'n':
if (iCurrentParam == 1 && iParam[0]==5) {
// report the cursor position
- Network.WriteString("\x1B[0n", 6);
+ Network.WriteString("\x1B[0n", 4);
break;
}
if (iCurrentParam == 1 && iParam[0]==6){