aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-09-26 21:14:13 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-09-26 21:14:13 +0200
commit08fdad56eb26eefd7c8021fef8c6800bcf6768d8 (patch)
tree67c6e690e9feac3c93c10a3fcc7fa3c0dd866ad5 /src
parent5ee562faf4c10c88a8223d2a26d237a99755f73c (diff)
downloadtdv-08fdad56eb26eefd7c8021fef8c6800bcf6768d8.tar.gz
tdv-08fdad56eb26eefd7c8021fef8c6800bcf6768d8.tar.xz
tdv-08fdad56eb26eefd7c8021fef8c6800bcf6768d8.zip
Fix Travis build
Diffstat (limited to 'src')
-rw-r--r--src/sdtui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sdtui.c b/src/sdtui.c
index b9ed153..b7a54da 100644
--- a/src/sdtui.c
+++ b/src/sdtui.c
@@ -277,7 +277,9 @@ app_load_color (Application *self, GKeyFile *kf, const gchar *name, int id)
else if (!strcmp (*it, "ul")) attrs.attrs |= A_UNDERLINE;
else if (!strcmp (*it, "blink")) attrs.attrs |= A_BLINK;
else if (!strcmp (*it, "reverse")) attrs.attrs |= A_REVERSE;
+#ifdef A_ITALIC
else if (!strcmp (*it, "italic")) attrs.attrs |= A_ITALIC;
+#endif // A_ITALIC
}
g_strfreev (values);