~ubuntu-branches/ubuntu/karmic/alpine/karmic

« back to all changes in this revision

Viewing changes to pith/sequence.c

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2008-09-23 12:17:56 UTC
  • mfrom: (2.1.8 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080923121756-6u4x8bwq89qlzt32
Tags: 2.00+dfsg-2
Update to package description: note that Alpine is no longer in
alpha. (Closes: #499640)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#if !defined(lint) && !defined(DOS)
2
 
static char rcsid[] = "$Id: sequence.c 671 2007-08-15 20:28:09Z hubert@u.washington.edu $";
 
2
static char rcsid[] = "$Id: sequence.c 1008 2008-03-25 01:25:48Z mikes@u.washington.edu $";
3
3
#endif
4
4
 
5
5
/*
358
358
  do their thing.
359
359
  ----*/
360
360
int
361
 
pseudo_selected(MSGNO_S *map)
 
361
pseudo_selected(MAILSTREAM *stream, MSGNO_S *map)
362
362
{
363
363
    long i, later = 0L;
364
364
 
366
366
        map->hilited = mn_m2raw(map, mn_get_cur(map));
367
367
 
368
368
        for(i = 1L; i <= mn_get_total(map); i++)
369
 
          /* BUG: using the global mail_stream is kind of bogus since
370
 
           * everybody that calls us get's a pine stuct passed it.
371
 
           * perhaps a stream pointer in the message struct makes 
372
 
           * sense?
373
 
           */
374
 
          if(get_lflag(ps_global->mail_stream, map, i, MN_SLCT)){
 
369
          if(get_lflag(stream, map, i, MN_SLCT)){
375
370
              if(!later++){
376
371
                  mn_set_cur(map, i);
377
372
              }