Use '*' instead of 'n', since its more accuarte. - sam - An updated version of … | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 37df20c57224ba5a3a4b9c04491368b7b5047ac6 | |
parent b4fa0da23ad1e33ffb2955133b88e2ee7b3bb521 | |
Author: Rob King <[email protected]> | |
Date: Fri, 9 Sep 2016 17:05:20 -0500 | |
Use '*' instead of 'n', since its more accuarte. | |
Diffstat: | |
samterm/samrc.c | 12 ++++++------ | |
1 file changed, 6 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/samterm/samrc.c b/samterm/samrc.c | |
@@ -65,7 +65,7 @@ static Namemapping buttonmapping[] ={ | |
}; | |
static Namemapping modmapping[] ={ | |
- {"n", 0}, | |
+ {"*", 0}, | |
{"c", ControlMask}, | |
{"s", ShiftMask}, | |
{NULL, 0} | |
@@ -228,15 +228,15 @@ loadrcfile(FILE *f) | |
if (sscanf(l, " chord %5[Nn12345] %5[Nn12345] %99s %99s", s1, s2, cnam… | |
rc = installchord(statetomask(s1, buttonmapping), statetomask(s2, … | |
- else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s raw 0x%hx", s1, s… | |
+ else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s raw 0x%hx", s1, s… | |
rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s… | |
- else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s composed 0x%hx", … | |
+ else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s composed 0x%hx", … | |
rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s… | |
- else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s raw %c", s1, s2, … | |
+ else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s raw %c", s1, s2, … | |
rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s… | |
- else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s composed %c", s1,… | |
+ else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s composed %c", s1,… | |
rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s… | |
- else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s command %99s", s1… | |
+ else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s command %99s", s1… | |
rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s… | |
else if (sscanf(l, " foreground %1023s", cname) == 1) | |
strncpy(foregroundspec, cname, sizeof(foregroundspec) - 1); |