- Timestamp:
- May 1, 2011, 5:29:25 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 1753ea0, 3fa0181
- Parents:
- 9efa5bd
- git-author:
- David Benjamin <davidben@mit.edu> (04/26/11 21:46:58)
- git-committer:
- David Benjamin <davidben@mit.edu> (05/01/11 17:29:25)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r9efa5bd r7b4f3be 51 51 g->direction=OWL_DIRECTION_DOWNWARDS; 52 52 g->zaway=0; 53 if (has_colors()) {54 g->hascolors=1;55 }56 53 owl_fmtext_init_colorpair_mgr(&(g->cpmgr)); 57 54 g->debug=OWL_DEBUG; … … 573 570 owl_view *owl_global_get_current_view(owl_global *g) { 574 571 return(&(g->current_view)); 575 }576 577 /* has colors */578 579 int owl_global_get_hascolors(const owl_global *g) {580 if (g->hascolors) return(1);581 return(0);582 572 } 583 573
Note: See TracChangeset
for help on using the changeset viewer.