Changeset 58d47ca for global.c


Ignore:
Timestamp:
Mar 29, 2010, 11:11:32 PM (11 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
98d296d
Parents:
73eda8c
git-author:
Nelson Elhage <nelhage@ksplice.com> (03/19/10 17:02:20)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/29/10 23:11:32)
Message:
Make owl_global_set_typwin-active return the new editwin.

This makes the code to set up a new edit window slightly more compact,
and removes references to the single global editwin.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r73eda8c r58d47ca  
    371371}
    372372
    373 void owl_global_set_typwin_active(owl_global *g, int style, owl_history *hist) {
     373owl_editwin *owl_global_set_typwin_active(owl_global *g, int style, owl_history *hist) {
    374374  int d;
    375375  d = owl_global_get_typewindelta(g);
     
    383383                          hist);
    384384  g->typwinactive=1;
     385  return g->tw;
    385386}
    386387
Note: See TracChangeset for help on using the changeset viewer.