summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2009-10-25 20:53:47 +0000
committerMichael Jennings <mej@kainx.org>2009-10-25 20:53:47 +0000
commitf4494790e2e8fac1692dc9ea761984374fefbe9b (patch)
tree823f2ef22bfb529781b260f921f2f091b32cfa76 /src/options.c
parente59a5a4e95aca8b45efb42a521ee513b318fc5a9 (diff)
downloadeterm-f4494790e2e8fac1692dc9ea761984374fefbe9b.tar.gz
Sun Oct 25 13:52:40 2009 Michael Jennings (mej)
Support font effects in 8 directions. Patch supplied by Joern Bernhardt <Joern.Bernhardt@gmx.net>. ---------------------------------------------------------------------- SVN revision: 43283
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c
index 7cf8a8a..2b305a3 100644
--- a/src/options.c
+++ b/src/options.c
@@ -3255,14 +3255,18 @@ save_config(char *path, unsigned char save_theme)
if (fshadow.do_shadow) {
const char *corners[] = {
"top_left",
+ "top",
"top_right",
+ "left",
+ "right",
"bottom_left",
+ "bottom",
"bottom_right"
};
unsigned char shad = 0;
fprintf(fp, " font effects");
- for (i = 0; i < 4; i++) {
+ for (i = 0; i < 8; i++) {
if (fshadow.shadow[i]) {
fprintf(fp, " %s 0x%08x", corners[i], (unsigned int) fshadow.color[i]);
shad = 1;