- Timestamp:
- Sep 18, 2010, 5:07:40 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- fc5eef4
- Parents:
- 9190285
- git-author:
- David Benjamin <davidben@mit.edu> (08/14/10 01:15:47)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/18/10 17:07:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r08263a8 rc394de8 285 285 owl_editwin *owl_global_current_typwin(const owl_global *g) { 286 286 owl_context *ctx = owl_global_get_context(g); 287 /* Get the current editwin from the context. */ 288 if (ctx && owl_context_matches(ctx, OWL_CTX_TYPWIN)) { 289 return owl_context_get_data(ctx); 290 } 291 return NULL; 287 return owl_editcontext_get_editwin(ctx); 292 288 } 293 289 … … 347 343 owl_window_dirty(g->mainpanel.typwin); 348 344 345 owl_editwin_unref(g->tw); 349 346 g->tw = NULL; 350 347 }
Note: See TracChangeset
for help on using the changeset viewer.