[USETUP] Add support for HOME, END, DEL, LEFT and RIGHT keys to partition size and...
[reactos.git] / base / setup / usetup / interface / consup.c
index 004f9da..d682a73 100644 (file)
@@ -334,20 +334,12 @@ CONSOLE_SetInputTextXY(
         &Written);
 
     coPos.X += Length;
-    FillConsoleOutputCharacterA(
-        StdOutput,
-        '_',
-        1,
-        coPos,
-        &Written);
-
-    if (len > Length + 1)
+    if (len > Length)
     {
-        coPos.X++;
         FillConsoleOutputCharacterA(
             StdOutput,
             ' ',
-            len - Length - 1,
+            len - Length,
             coPos,
             &Written);
     }