Changeset 3fa0181 for global.c


Ignore:
Timestamp:
May 1, 2011, 5:30:33 PM (12 years ago)
Author:
GitHub Merge Button <merge-button@github.com>
Parents:
4fd211f (diff), 7b4f3be (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
Merge 7b4f3bea704ed82f2c36ba19fcf354d7442a5bb7 into 4fd211f3a533efcedaf4d0dc7c01e02087ad2e39
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r47e0a6a r7b4f3be  
    5151  g->direction=OWL_DIRECTION_DOWNWARDS;
    5252  g->zaway=0;
    53   if (has_colors()) {
    54     g->hascolors=1;
    55   }
    56   g->colorpairs=COLOR_PAIRS;
    5753  owl_fmtext_init_colorpair_mgr(&(g->cpmgr));
    5854  g->debug=OWL_DEBUG;
     
    574570owl_view *owl_global_get_current_view(owl_global *g) {
    575571  return(&(g->current_view));
    576 }
    577 
    578 /* has colors */
    579 
    580 int owl_global_get_hascolors(const owl_global *g) {
    581   if (g->hascolors) return(1);
    582   return(0);
    583 }
    584 
    585 /* color pairs */
    586 
    587 int owl_global_get_colorpairs(const owl_global *g) {
    588   return(g->colorpairs);
    589572}
    590573
Note: See TracChangeset for help on using the changeset viewer.