From 16f5d457573d4abb89681c2811a25bd09d308a7a Mon Sep 17 00:00:00 2001 From: Sergey Yanovich Date: Fri, 16 Nov 2007 16:04:07 +0200 Subject: [PATCH] [base] Set 'flow.rate' to '1.0' by default --- base/aaFlow.cpp | 3 ++- base/aaFlow.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/base/aaFlow.cpp b/base/aaFlow.cpp index bc3fc06..ed04ef5 100644 --- a/base/aaFlow.cpp +++ b/base/aaFlow.cpp @@ -33,7 +33,8 @@ #include "aaFlow.h" aaFlow::aaFlow() - :mTag((const PRUnichar *) nsnull), mRead(PR_FALSE), mEdited(PR_FALSE) + :mTag((const PRUnichar *) nsnull), mRead(PR_FALSE), mEdited(PR_FALSE), + mRate(1.0) { } diff --git a/base/aaFlow.h b/base/aaFlow.h index e68981a..b01171a 100644 --- a/base/aaFlow.h +++ b/base/aaFlow.h @@ -46,10 +46,10 @@ private: nsCOMPtr mEntity; nsCOMPtr mGiveResource; nsCOMPtr mTakeResource; - double mRate; double mLimit; PRBool mRead; PRBool mEdited; + double mRate; }; #endif /* AAFLOW_H */ -- 2.11.4.GIT