1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-04 23:29:42 +02:00

eeshow/lib-parse.c (decode_style): also recognize "Italic"

This commit is contained in:
Werner Almesberger 2016-08-16 01:00:20 -03:00
parent b9e51a7788
commit 8a087797b2
2 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,8 @@ static enum text_style decode_style(const char *s)
{
if (!strcmp(s, "Normal"))
return text_normal;
if (!strcmp(s, "Italic"))
return text_italic;
assert(0);
}

View File

@ -25,6 +25,7 @@ enum text_align {
enum text_style {
text_normal,
text_italic,
};
struct text {