summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/pdf/pdf-form.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-form.c b/source/pdf/pdf-form.c
index 5ccdc7fa..8521d63d 100644
--- a/source/pdf/pdf-form.c
+++ b/source/pdf/pdf-form.c
@@ -983,6 +983,7 @@ void pdf_field_set_text_color(fz_context *ctx, pdf_document *doc, pdf_obj *field
{
default:
color[0] = color[1] = color[2] = 0;
+ break;
case 1:
color[0] = color[1] = color[2] = pdf_array_get_real(ctx, col, 0);
break;