Allow spaces in font names. - sam - An updated version of the sam text editor. | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 70fbb23cbeee5a589016e71cb740b06902173f52 | |
parent 3e0ebb9ecdfa570f11e09e5ad9fd6231dfb107c7 | |
Author: Rob King <[email protected]> | |
Date: Wed, 7 Dec 2016 23:26:06 -0600 | |
Allow spaces in font names. | |
Diffstat: | |
samterm/samrc.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/samterm/samrc.c b/samterm/samrc.c | |
@@ -356,7 +356,7 @@ Directive directives[] ={ | |
{" foreground %1023s", 1, dirfore… | |
{" background %1023s", 1, dirback… | |
{" border %1023s", 1, dirbord… | |
- {" font %1023s", 1, dirfont… | |
+ {" font %1023[^\n]", 1, dirfont… | |
{" tabs %2[0-9]", 1, dirtabs… | |
{" expandtabs %99s", 1, direxpa… | |
{" %1[#]", 1, dircomm… |