Allow spaces in font names. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 70fbb23cbeee5a589016e71cb740b06902173f52
(DIR) parent 3e0ebb9ecdfa570f11e09e5ad9fd6231dfb107c7
(HTM) Author: Rob King <jking@deadpixi.com>
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(-)
---
(DIR) diff --git a/samterm/samrc.c b/samterm/samrc.c
@@ -356,7 +356,7 @@ Directive directives[] ={
{" foreground %1023s", 1, dirforeground},
{" background %1023s", 1, dirbackground},
{" border %1023s", 1, dirborder},
- {" font %1023s", 1, dirfont},
+ {" font %1023[^\n]", 1, dirfont},
{" tabs %2[0-9]", 1, dirtabs},
{" expandtabs %99s", 1, direxpandtabs},
{" %1[#]", 1, dircomment},