fix javadoc header
[fanfix.git] / src / jexer / tterminal / DisplayLine.java
index 3f2cfd75b5a0685b59c3e56ba7bd0327e9a41481..7a798bcb2e02f69c30908a8e985b439ff9439ad7 100644 (file)
@@ -1,4 +1,4 @@
-/**
+/*
  * Jexer - Java Text User Interface
  *
  * License: LGPLv3 or later
@@ -173,7 +173,7 @@ public final class DisplayLine {
      * @param newCell the new Cell
      */
     public void replace(final int idx, final Cell newCell) {
-        chars[idx] = newCell;
+        chars[idx].setTo(newCell);
     }
 
     /**
@@ -208,8 +208,8 @@ public final class DisplayLine {
     }
 
     /**
-     * Delete character at the specified position, filling in new characters
-     * on the right with newCell.
+     * Delete character at the specified position, filling in the new
+     * character on the right with newCell.
      *
      * @param idx the character index
      * @param newCell the new Cell