From 4cbcdf6e54829c667f731bef75d994b4be0acfbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 4 Jan 2008 13:40:06 +0000 Subject: [PATCH] added an error message when no replicant can be found git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23240 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/input/AddOnManager.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/servers/input/AddOnManager.cpp b/src/servers/input/AddOnManager.cpp index 037838e730..378d6b097b 100644 --- a/src/servers/input/AddOnManager.cpp +++ b/src/servers/input/AddOnManager.cpp @@ -520,10 +520,14 @@ AddOnManager::LoadReplicant() if (replicant.FindMessenger("result", &result) == B_OK) { gInputServer->SetMethodReplicant(new BMessenger(result)); } - } + } } } } + + if (!gInputServer->MethodReplicant()) { + fprintf(stderr, "LoadReplicant(): Method replicant not found!\n"); + } }