looking for a focus bug in _request_execute

This commit is contained in:
psyc://psyced.org/~lynX 2009-04-12 20:58:01 +02:00
parent 020074621e
commit 3fb3ddce73

View File

@ -1367,6 +1367,7 @@ case "_request_execute":
// our places
if (places[t]) {
vSet("place", place = t);
PT(("REQ-EX place %O\n", t))
} else {
// see if it is a local object
object o = psyc_object(t);
@ -1375,9 +1376,11 @@ case "_request_execute":
if (o && places[o]) {
place = o;
vSet("place", o->qName());
PT(("REQ-EX object %O\n", o))
} else unless (t2) {
// must be a person then
// ME->parsecmd(data, t);
PT(("REQ-EX person %O\n", t))
parsecmd(data, t);
// should be able to put o||t
// here.. TODO
@ -1385,6 +1388,9 @@ case "_request_execute":
}
}
}
else {
PT(("REQ-EX non-string %O\n", t))
}
// ME->parsecmd(data);
if (t2) {
unless (request(source, t2, vars, data)) {