projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f87d4df
)
webkitpdf.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 25 Apr 2016 07:56:42 +0000
(15:56 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 25 Apr 2016 07:56:42 +0000
(15:56 +0800)
webkitpdf.vala.c
BrowserWindow.vala.c
webkitpdf.vala
patch
|
blob
|
history
diff --git
a/webkitpdf.vala
b/webkitpdf.vala
index
ae0ac27
..
e02a0bf
100644
(file)
--- a/
webkitpdf.vala
+++ b/
webkitpdf.vala
@@
-42,7
+42,7
@@
public class webkitpdf {
if (webkitpdf.opt_target_png == null && webkitpdf.opt_target_pdf == null) {
throw new OptionError.BAD_VALUE("missing pdf or png filename");
}
- if (webkitpdf.opt_target_pdf == null) {
+ if (webkitpdf.opt_target_pdf == null
&& webkitpdf.opt_target_png != null
) {
throw new OptionError.BAD_VALUE("missing pdf file path");
}