Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 264603 | Differences between
and this patch

Collapse All | Expand All

(-)xpdf-3.02/splash/SplashBitmap.cc (-1 / +1 lines)
Lines 44-50 SplashBitmap::SplashBitmap(int widthA, i Link Here
44
  }
44
  }
45
  rowSize += rowPad - 1;
45
  rowSize += rowPad - 1;
46
  rowSize -= rowSize % rowPad;
46
  rowSize -= rowSize % rowPad;
47
  data = (SplashColorPtr)gmalloc(rowSize * height);
47
  data = (SplashColorPtr)gmallocn(rowSize, height);
48
  if (!topDown) {
48
  if (!topDown) {
49
    data += (height - 1) * rowSize;
49
    data += (height - 1) * rowSize;
50
    rowSize = -rowSize;
50
    rowSize = -rowSize;

Return to bug 264603