'everything' module:

- calc: default to truncate with scale=3, ignored when input begins with scale=X; 


SVN revision: 41353
This commit is contained in:
Hannes Janetzek 2009-07-15 21:08:01 +00:00
parent e1ce008a7e
commit 7cce1f09c2
1 changed files with 5 additions and 1 deletions

View File

@ -162,6 +162,10 @@ _fetch(Evry_Plugin *p, const char *input)
history = NULL;
}
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); */