webkitpdf.vala
authorAlan Knowles <alan@roojs.com>
Mon, 25 Apr 2016 08:00:08 +0000 (16:00 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 25 Apr 2016 08:00:08 +0000 (16:00 +0800)
webkitpdf.vala.c
BrowserWindow.vala.c

webkitpdf.vala

index bc45365..068ea26 100644 (file)
@@ -49,7 +49,7 @@ public class webkitpdf {
             if (webkitpdf.opt_target_png != null) {
                        print("got png\n");
                }
-            if (webkitpdf.opt_target_pdf == null && webkitpdf.opt_target_png != null) {
+            if ((webkitpdf.opt_target_pdf == null) && (webkitpdf.opt_target_png != null)) {
                 throw new OptionError.BAD_VALUE("missing pdf file path");
             }