Changeset 03ca005 for functions.c
- Timestamp:
- Sep 18, 2010, 5:07:39 PM (13 years ago)
- Branches:
- master, release-1.7, release-1.8, release-1.9
- Children:
- 61c1f19
- Parents:
- b3b1b05
- git-author:
- David Benjamin <davidben@mit.edu> (08/01/10 13:50:19)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/18/10 17:07:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r4cf7b1b r03ca005 1237 1237 owl_viewwin *v; 1238 1238 1239 pw=owl_global_get_popwin(&g);1240 1239 v=owl_global_get_viewwin(&g); 1241 1240 1242 if (owl_ popwin_up(pw) != 0) {1241 if (owl_global_get_popwin(&g)) { 1243 1242 owl_function_error("Popwin already in use."); 1244 1243 return; 1245 1244 } 1245 pw = owl_popwin_new(); 1246 owl_global_set_popwin(&g, pw); 1247 owl_popwin_up(pw); 1246 1248 owl_global_push_context(&g, OWL_CTX_POPLESS, v, "popless", NULL); 1247 1249 owl_viewwin_init_text(v, owl_popwin_get_content(pw), text); … … 1253 1255 owl_viewwin *v; 1254 1256 1255 pw=owl_global_get_popwin(&g);1256 1257 v=owl_global_get_viewwin(&g); 1257 1258 1258 if (owl_ popwin_up(pw) != 0) {1259 if (owl_global_get_popwin(&g)) { 1259 1260 owl_function_error("Popwin already in use."); 1260 1261 return; 1261 1262 } 1263 pw = owl_popwin_new(); 1264 owl_global_set_popwin(&g, pw); 1265 owl_popwin_up(pw); 1262 1266 owl_global_push_context(&g, OWL_CTX_POPLESS, v, "popless", NULL); 1263 1267 owl_viewwin_init_fmtext(v, owl_popwin_get_content(pw), fm);
Note: See TracChangeset
for help on using the changeset viewer.