projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53357d6
)
allow @<...>@ inside of @(...)@ and vice versa
author
Robert Manea
<gotmor@gmail.com>
Thu, 18 Jun 2009 21:31:38 +0000
(23:31 +0200)
committer
Robert Manea
<gotmor@gmail.com>
Thu, 18 Jun 2009 21:31:38 +0000
(23:31 +0200)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
bbb1d00
..
2ab95c3
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-289,7
+289,7
@@
expand(char *s, gboolean recurse) {
if(upto == ' ') s = vend;
else s = vend+1;
}
- else if(!recurse &&
+ else if(recurse != 1 &&
etype == EXP_EXPR) {
mycmd = expand(ret, 1);
g_spawn_command_line_sync(mycmd, &cmd_stdout, NULL, NULL, &err);
@@
-305,9
+305,9
@@
expand(char *s, gboolean recurse) {
}
s = vend+2;
}
- else if(!recurse &&
+ else if(recurse != 2 &&
etype == EXP_JS) {
- mycmd = expand(ret, 1);
+ mycmd = expand(ret, 2);
eval_js(uzbl.gui.web_view, mycmd, js_ret);
g_free(mycmd);