forked from enlightenment/enlightenment
'everything' module:
- calc: default to truncate with scale=3, ignored when input begins with scale=X; SVN revision: 41353
This commit is contained in:
parent
e1ce008a7e
commit
7cce1f09c2
|
@ -162,7 +162,11 @@ _fetch(Evry_Plugin *p, const char *input)
|
|||
history = NULL;
|
||||
}
|
||||
|
||||
snprintf(buf, 1024, "scale=3;%s\n", input + (strlen(p->trigger)));
|
||||
|
||||
if (!strncmp(input, "=scale=", 7))
|
||||
snprintf(buf, 1024, "%s\n", input + (strlen(p->trigger)));
|
||||
else
|
||||
snprintf(buf, 1024, "scale=3;%s\n", input + (strlen(p->trigger)));
|
||||
|
||||
/* printf("send %s\n",buf); */
|
||||
|
||||
|
|
Loading…
Reference in New Issue