Ticket #12756: 0009-PicturePrinter.cpp-fix-gcc6-build.patch

File 0009-PicturePrinter.cpp-fix-gcc6-build.patch, 841 bytes (added by mt, 3 years ago)
  • src/kits/print/PicturePrinter.cpp

    From ed1020279821eb6a1a0767ea01d9d72e03476979 Mon Sep 17 00:00:00 2001
    From: Murai Takashi <tmurai01@gmail.com>
    Date: Thu, 5 May 2016 16:47:02 +0900
    Subject: [PATCH 09/21] PicturePrinter.cpp: fix gcc6 build
    
    ---
     src/kits/print/PicturePrinter.cpp | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)
    
    diff --git a/src/kits/print/PicturePrinter.cpp b/src/kits/print/PicturePrinter.cpp
    index 5f7a253..a84a9d6 100644
    a b void PicturePrinter::DrawPixels(BRect src, BRect dest, int32 width, int32 height  
    202202
    203203void PicturePrinter::SetClippingRects(BRect *rects, uint32 numRects) {
    204204    Indent(); Print("SetClippingRects");
    205     if (numRects == 0) Print("none"); Cr();
     205    if (numRects == 0) Print("none");
     206    Cr();
    206207    Print(numRects, rects);
    207208}
    208209