summaryrefslogtreecommitdiff
path: root/fitz/doc_interactive.c
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2012-08-16 09:06:46 +0100
committerPaul Gardiner <paulg.artifex@glidos.net>2012-08-16 09:06:46 +0100
commit28541e46d075b63fc88e8bb57e25f5f16e61cc26 (patch)
tree6f0c6b177ea66400d8786d273d603a4c2551aac2 /fitz/doc_interactive.c
parent465ddf7b0e7e9ffb8345117dc19fbd9576ad73ff (diff)
downloadmupdf-28541e46d075b63fc88e8bb57e25f5f16e61cc26.tar.xz
Forms: respond to failed validation in windows app
Diffstat (limited to 'fitz/doc_interactive.c')
-rw-r--r--fitz/doc_interactive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/doc_interactive.c b/fitz/doc_interactive.c
index 61f2f4f1..724ad8d1 100644
--- a/fitz/doc_interactive.c
+++ b/fitz/doc_interactive.c
@@ -51,9 +51,9 @@ int fz_widget_text_get_content_type(fz_interactive *idoc, fz_widget *tw)
return pdf_widget_text_get_content_type((pdf_document *)idoc, tw);
}
-void fz_widget_text_set_text(fz_interactive *idoc, fz_widget *tw, char *text)
+int fz_widget_text_set_text(fz_interactive *idoc, fz_widget *tw, char *text)
{
- pdf_widget_text_set_text((pdf_document *)idoc, tw, text);
+ return pdf_widget_text_set_text((pdf_document *)idoc, tw, text);
}
int fz_widget_choice_get_options(fz_interactive *idoc, fz_widget *tw, char *opts[])