Changeset 3a2daac


Ignore:
Timestamp:
Sep 17, 2002, 6:44:09 PM (22 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
65fc0900
Parents:
62f24bc
Message:
viewwin will now say "End" instead of "More" when at the end
Added a debugging message indicating the result of topmsg
  calculations
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r62f24bc r3a2daac  
    66        'l' is bound to 'zlist'
    77        Fixed memory leak uninitialzed memory read in fmtext
     8        viewwin will now say "End" instead of "More" when at the end
     9        Added a debugging message indicating the result of topmsg
     10          calculations
    811       
    9121.2.3
  • functions.c

    r42abb10 r3a2daac  
    788788                                                  topmsg, recwinlines);
    789789  }
     790  owl_function_debugmsg("Calculated a topmsg of %i", topmsg);
    790791  owl_global_set_topmsg(&g, topmsg);
    791792}
  • message.c

    raf2ca19 r3a2daac  
    389389
    390390  /* save the hostname */
    391   owl_function_debugmsg("About to do get hostbyaddr");
     391  owl_function_debugmsg("About to do gethostbyaddr");
    392392  hent=gethostbyaddr((char *) &(n->z_uid.zuid_addr), sizeof(n->z_uid.zuid_addr), AF_INET);
    393393  if (hent && hent->h_name) {
  • view.c

    r5f37310 r3a2daac  
    7070    }
    7171  }
    72   return bestpos;
     72  return (bestpos);
    7373}
    7474
    7575int owl_view_get_nearest_to_saved(owl_view *v) {
    76   int cachedid = owl_filter_get_cachedmsgid(v->filter);
     76  int cachedid;
     77
     78  cachedid=owl_filter_get_cachedmsgid(v->filter);
    7779  if (cachedid<0) return(0);
    78   return owl_view_get_nearest_to_msgid(v, cachedid);
     80  return (owl_view_get_nearest_to_msgid(v, cachedid));
    7981}
    8082
  • viewwin.c

    raf2ca19 r3a2daac  
    6666  wmove(v->curswin, v->winlines-1, 0);
    6767  wattrset(v->curswin, A_REVERSE);
    68   if (v->textlines - v->topline > v->winlines-BOTTOM_OFFSET - 1) {
     68  if (v->textlines - v->topline > v->winlines-BOTTOM_OFFSET) {
    6969    waddstr(v->curswin, "--More-- (Space to see more, 'q' to quit)");
    7070  } else {
Note: See TracChangeset for help on using the changeset viewer.