]> git.pld-linux.org Git - packages/sane-frontends.git/blob - sane-frontends-fpe.patch
- require strict version of sane-backend (it will make sig11 if not match)
[packages/sane-frontends.git] / sane-frontends-fpe.patch
1 Index: external/sane/sane-frontends/src/preview.c
2 diff -u external/sane/sane-frontends/src/preview.c:1.3 external/sane/sane-frontends/src/preview.c:1.4
3 --- sane-frontends/src/preview.c:1.3    Fri Aug  3 13:57:49 2001
4 +++ sane-frontends/src/preview.c        Thu Nov 29 10:15:33 2001
5 @@ -871,6 +871,8 @@
6  
7    p->image_width = width;
8    p->image_height = height;
9 +  if ((width == 0) || (height == 0))
10 +    return;
11    p->image_data = malloc (3*width*height);
12    if (!p->image_data)
13      return;
This page took 0.039569 seconds and 3 git commands to generate.