Changeset c8ef50b for commands.c
- Timestamp:
- Sep 21, 2011, 4:21:51 PM (13 years ago)
- Children:
- c162fd6
- Parents:
- 8ad3964
- git-author:
- Jason Gross <jgross@mit.edu> (06/23/11 23:58:21)
- git-committer:
- Jason Gross <jgross@mit.edu> (09/21/11 16:21:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
rf271129 rc8ef50b 2796 2796 owl_history_store(hist, owl_editwin_get_text(e), false); 2797 2797 2798 /* Take a reference to the editwin, so that it survives the pop 2799 * context. TODO: We should perhaps refcount or otherwise protect 2800 * the context so that, even if a command pops a context, the 2801 * context itself will last until the command returns. */ 2802 owl_editwin_ref(e); 2798 2803 owl_global_pop_context(&g); 2804 2805 owl_editwin_do_callback(e, false); 2806 owl_editwin_unref(e); 2799 2807 } 2800 2808 … … 2856 2864 owl_global_pop_context(&g); 2857 2865 2858 owl_editwin_do_callback(e );2866 owl_editwin_do_callback(e, true); 2859 2867 owl_editwin_unref(e); 2860 2868 }
Note: See TracChangeset
for help on using the changeset viewer.