Text client: allow message quoting of lines over 1000
authorMichael Hampton <io_error@uncensored.citadel.org>
Wed, 30 Jan 2008 18:40:02 +0000 (18:40 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Wed, 30 Jan 2008 18:40:02 +0000 (18:40 +0000)
citadel/messages.c

index ee067bd5a091639463f6a8490be1f8038bb1e787..2da6b4efba02100735cf05281d096bb09f058629 100644 (file)
@@ -1276,13 +1276,13 @@ void process_quote(void)
        line = 0;
        fgets(buf, 128, qfile);
        while (fgets(buf, 128, qfile) != NULL) {
-               scr_printf("%2d %s", ++line, buf);
+               scr_printf("%3d %s", ++line, buf);
        }
-       scr_printf("Begin quoting at [ 1] : ");
-       ctdl_getline(buf, 3);
+       scr_printf("Begin quoting at [1] : ");
+       ctdl_getline(buf, 4);
        qstart = (buf[0] == 0) ? (1) : atoi(buf);
        scr_printf("  End quoting at [%d] : ", line);
-       ctdl_getline(buf, 3);
+       ctdl_getline(buf, 4);
        qend = (buf[0] == 0) ? (line) : atoi(buf);
        rewind(qfile);
        line = 0;