- Timestamp:
- May 1, 2011, 5:30:33 PM (12 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r47e0a6a r7b4f3be 51 51 g->direction=OWL_DIRECTION_DOWNWARDS; 52 52 g->zaway=0; 53 if (has_colors()) {54 g->hascolors=1;55 }56 g->colorpairs=COLOR_PAIRS;57 53 owl_fmtext_init_colorpair_mgr(&(g->cpmgr)); 58 54 g->debug=OWL_DEBUG; … … 574 570 owl_view *owl_global_get_current_view(owl_global *g) { 575 571 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);589 572 } 590 573
Note: See TracChangeset
for help on using the changeset viewer.