From 429ce09996dfe0ef44a115a89465c69eb4d376a6 Mon Sep 17 00:00:00 2001 From: joncruz Date: Fri, 5 Dec 2008 06:20:32 +0000 Subject: [PATCH] Corrected initialization order. --- src/display/nr-filter-slot.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/display/nr-filter-slot.cpp b/src/display/nr-filter-slot.cpp index c099663fd..5d470df15 100644 --- a/src/display/nr-filter-slot.cpp +++ b/src/display/nr-filter-slot.cpp @@ -1,5 +1,3 @@ -#define __NR_FILTER_SLOT_CPP__ - /* * A container class for filter slots. Allows for simple getting and * setting images in filter slots without having to bother with @@ -65,8 +63,8 @@ inline static int _min2(const double a, const double b) { namespace NR { FilterSlot::FilterSlot(int slots, NRArenaItem const *item) - : filterquality(FILTER_QUALITY_BEST), - _last_out(-1), + : _last_out(-1), + filterquality(FILTER_QUALITY_BEST), _arena_item(item) { _slot_count = ((slots > 0) ? slots : 2); @@ -214,7 +212,7 @@ void FilterSlot::set(int slot_nr, NRPixBlock *pb) trans[1] * x0 + trans[3] * y1 + trans[5], trans[1] * x1 + trans[3] * y0 + trans[5], trans[1] * x1 + trans[3] * y1 + trans[5]); - + nr_pixblock_setup_fast(trans_pb, pb->mode, min_x, min_y, max_x, max_y, true); -- 2.30.2