]> code.citadel.org Git - citadel.git/commitdiff
* Ford's Fix for Faster Functionality (save position during reply)
authorArt Cancro <ajc@citadel.org>
Fri, 10 Nov 2000 03:55:06 +0000 (03:55 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 10 Nov 2000 03:55:06 +0000 (03:55 +0000)
citadel/ChangeLog
citadel/messages.c

index e700239588e5d824a0e17e878614f2d52ed6c592..34dfe183c5761a18fcaa967a7efa4360f3fe8ba1 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 573.24  2000/11/10 03:55:06  ajc
+ * Ford's Fix for Faster Functionality (save position during reply)
+
  Revision 573.23  2000/11/09 04:48:50  ajc
  * tools.c: striplt() strips all whitespace, not just spaces
 
@@ -2128,4 +2131,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index 0236d8142303da66cb679ef05d16c69421e9bb6f..fd9fda48906f510771e0d17b2e04906d9619eafb 100644 (file)
@@ -1018,6 +1018,7 @@ void readmsgs(
        int q           /* Number of msgs to read (if c==3) */
 ) {
        int a, b, e, f, g, start;
+       int savedpos;
        int hold_sw = 0;
        char arcflag = 0;
        char quotflag = 0;
@@ -1077,7 +1078,7 @@ void readmsgs(
                                return;
                }
 
-             RAGAIN:pagin = ((arcflag == 0)
+RAGAIN:                pagin = ((arcflag == 0)
                         && (quotflag == 0)
                         && (userflags & US_PAGINATOR)) ? 1 : 0;
 
@@ -1333,7 +1334,9 @@ RMSGREAD: fflush(stdout);
                        read_message(msg_arr[a], READ_HEADER);
                        goto RMSGREAD;
                case 'r':
+                       savedpos = num_msgs;
                        entmsg(1, (DEFAULT_ENTRY == 46 ? 2 : 0));
+                       num_msgs = savedpos;
                        goto RMSGREAD;
                case 'u':
                        list_urls();