Commit 407f2d5b authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: move a comment and rewrap a line

parent 61e8b3d5
Showing with 4 additions and 4 deletions
+4 -4
...@@ -1832,10 +1832,10 @@ char *display_string(const char *buf, size_t start_col, size_t span, ...@@ -1832,10 +1832,10 @@ char *display_string(const char *buf, size_t start_col, size_t span,
#endif #endif
buf += start_index; buf += start_index;
if (*buf != '\0' && *buf != '\t' && /* If the first character starts before the left edge, or would be
(column < start_col || (isdata && !ISSET(SOFTWRAP) && column > 0))) { * overwritten by a "$" token, then show spaces instead. */
/* We don't display the complete first character as it starts to if (*buf != '\0' && *buf != '\t' && (column < start_col ||
* the left of the screen. */ (column > 0 && isdata && !ISSET(SOFTWRAP)))) {
if (is_cntrl_mbchar(buf)) { if (is_cntrl_mbchar(buf)) {
if (column < start_col) { if (column < start_col) {
converted[index++] = control_mbrep(buf, isdata); converted[index++] = control_mbrep(buf, isdata);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment