From d008c62d5372b2f2de6838a4bc70100d687f3b1b Mon Sep 17 00:00:00 2001 From: ejakowatz Date: Sat, 24 Aug 2002 03:08:44 +0000 Subject: [PATCH] Fixed a narsty little bug that suddenly started rearing its ugly head in IsMessageWaiting() test #3. fLastMessage wasn't getting initialized to NULL on construction, and the random value was finally biting me. All better now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@856 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/app/Looper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kits/app/Looper.cpp b/src/kits/app/Looper.cpp index 4e869cd0c4..8ab09cf262 100644 --- a/src/kits/app/Looper.cpp +++ b/src/kits/app/Looper.cpp @@ -1111,6 +1111,7 @@ void BLooper::InitData() fRunCalled = false; fQueue = new BMessageQueue(); fCommonFilters = NULL; + fLastMessage = NULL; fPreferred = NULL; fTaskID = B_ERROR; fTerminating = false;