diff options
Diffstat (limited to 'pdf/splash/Splash.cc')
-rw-r--r-- | pdf/splash/Splash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/splash/Splash.cc b/pdf/splash/Splash.cc index 4094f4a..6202dd1 100644 --- a/pdf/splash/Splash.cc +++ b/pdf/splash/Splash.cc @@ -642,7 +642,7 @@ SplashError Splash::fillWithPattern(SplashPath *path, GBool eo, int xMinI, yMinI, xMaxI, yMaxI, x0, x1, y; SplashClipResult clipRes, clipRes2; - if (path->length == 0) { + if (path->length == 0 || path->length == 1) { return splashErrEmptyPath; } xPath = new SplashXPath(path, state->flatness, gTrue); |