mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-25 23:52:51 +02:00
eeshow/lib-parse.c (decode_style): also recognize "Italic"
This commit is contained in:
parent
b9e51a7788
commit
8a087797b2
@ -29,6 +29,8 @@ static enum text_style decode_style(const char *s)
|
|||||||
{
|
{
|
||||||
if (!strcmp(s, "Normal"))
|
if (!strcmp(s, "Normal"))
|
||||||
return text_normal;
|
return text_normal;
|
||||||
|
if (!strcmp(s, "Italic"))
|
||||||
|
return text_italic;
|
||||||
assert(0);
|
assert(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ enum text_align {
|
|||||||
|
|
||||||
enum text_style {
|
enum text_style {
|
||||||
text_normal,
|
text_normal,
|
||||||
|
text_italic,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct text {
|
struct text {
|
||||||
|
Loading…
Reference in New Issue
Block a user