Changeset eaa9053


Ignore:
Timestamp:
Aug 15, 2009, 7:08:19 PM (8 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
9c01a5e
Parents:
1fdab04
git-author:
Anders Kaseorg <andersk@mit.edu> (07/22/09 01:51:51)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:19)
Message:
Add const qualifiers for owl_mainwin *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mainwin.c

    r77bced3 reaa9053  
    142142
    143143
    144 int owl_mainwin_is_curmsg_truncated(owl_mainwin *mw)
     144int owl_mainwin_is_curmsg_truncated(const owl_mainwin *mw)
    145145{
    146146  if (mw->curtruncated) return(1);
     
    148148}
    149149
    150 int owl_mainwin_is_last_msg_truncated(owl_mainwin *mw)
     150int owl_mainwin_is_last_msg_truncated(const owl_mainwin *mw)
    151151{
    152152  if (mw->lasttruncated) return(1);
     
    154154}
    155155
    156 int owl_mainwin_get_last_msg(owl_mainwin *mw)
     156int owl_mainwin_get_last_msg(const owl_mainwin *mw)
    157157{
    158158  /* return the number of the last message displayed. -1 if none */
Note: See TracChangeset for help on using the changeset viewer.