Changeset 7803326 for commands.c
- Timestamp:
- Sep 30, 2011, 8:07:53 AM (12 years ago)
- Branches:
- master, release-1.9
- Children:
- 0c71c58, 5f784ec, 923c3f6, a962f5c, d953ede
- Parents:
- e89ec48
- git-author:
- Jason Gross <jgross@mit.edu> (06/23/11 23:58:21)
- git-committer:
- Jason Gross <jgross@mit.edu> (09/30/11 08:07:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
rf271129 r7803326 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.