Changeset 4cf7b1b for popexec.c


Ignore:
Timestamp:
Sep 18, 2010, 3:17:27 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
7ba2ad4
Parents:
6425d43
git-author:
David Benjamin <davidben@mit.edu> (07/31/10 20:11:47)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 15:17:27)
Message:
If owl_popwin_up fails, abort the command
File:
1 edited

Legend:

Unmodified
Added
Removed
  • popexec.c

    r07b59ea r4cf7b1b  
    2626  pe->vwin=v=owl_global_get_viewwin(&g);
    2727
    28   owl_popwin_up(pw);
     28  if (owl_popwin_up(pw) != 0) {
     29    owl_function_error("Popwin already in use.");
     30    return NULL;
     31  }
    2932  owl_global_push_context(&g, OWL_CTX_POPLESS, v, "popless", NULL);
    3033  owl_viewwin_init_text(v, owl_popwin_get_content(pw), "");
Note: See TracChangeset for help on using the changeset viewer.