openbsd-ports/net/tintin++/patches/patch-parse_c

17 lines
486 B
Plaintext
Raw Normal View History

$OpenBSD: patch-parse_c,v 1.2 2010/01/11 07:19:17 ajacoutot Exp $
2007-10-26 18:10:06 -04:00
--- parse.c.orig Sun Aug 28 16:12:10 1994
+++ parse.c Mon Jan 11 08:15:04 2010
2007-10-26 18:10:06 -04:00
@@ -670,10 +670,10 @@ void prompt(ses)
if(ses && !PSEUDO_PROMPT)
write_line_mud("", ses);
else if (!is_split)
- write(1,"> ", 3);
+ write(1,"> ", 2);
else {
sprintf(strng,"8> 7[%d;%df", input_row, input_col);
- write(1,strng, strlen(strng)+1);
+ write(1,strng, strlen(strng));
display_col+=2;
}
}