View | Details | Raw Unified | Return to bug 8310
Collapse All | Expand All

(-)mc-4.6.1/src/main.c.orig (-1 / +1 lines)
Lines 702-708 Link Here
702
	int prompt_len;
702
	int prompt_len;
703
703
704
	prompt = strip_ctrl_codes (subshell_prompt);
704
	prompt = strip_ctrl_codes (subshell_prompt);
705
	prompt_len = strlen (prompt);
705
	prompt_len = mbstrlen (prompt);
706
706
707
	/* Check for prompts too big */
707
	/* Check for prompts too big */
708
	if (COLS > 8 && prompt_len > COLS - 8) {
708
	if (COLS > 8 && prompt_len > COLS - 8) {

Return to bug 8310