Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 69407 | Differences between
and this patch

Collapse All | Expand All

(-)/lib/readline/display.c.orig (-10 / +5 lines)
Lines 268-287 Link Here
268
		  physchars++;
268
		  physchars++;
269
		}
269
		}
270
	      else
270
	      else
271
		ninvis++;		/* invisible chars byte counter */
271
	        {
272
	    }
272
	           ninvis++;     /* invisible chars byte counter */
273
273
	           if (rl < _rl_screenwidth)
274
	  if (invflset == 0 && rl >= _rl_screenwidth)
274
	             invfl = ninvis;
275
	    {
275
	        }
276
	      invfl = ninvis;
277
	      invflset = 1;
278
	    }
276
	    }
279
	}
277
	}
280
    }
278
    }
281
279
282
  if (rl < _rl_screenwidth)
283
    invfl = ninvis;
284
285
  *r = '\0';
280
  *r = '\0';
286
  if (lp)
281
  if (lp)
287
    *lp = rl;
282
    *lp = rl;

Return to bug 69407