From 0c40e5db5be6f89ccadb0e49aa3ad498bad38b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 29 Aug 2004 16:38:05 +0000 Subject: [PATCH] Fixed returned values git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8715 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/InterfaceDefs.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/kits/interface/InterfaceDefs.cpp b/src/kits/interface/InterfaceDefs.cpp index d99a47f213..3305a243ec 100644 --- a/src/kits/interface/InterfaceDefs.cpp +++ b/src/kits/interface/InterfaceDefs.cpp @@ -128,7 +128,7 @@ set_mouse_type(int32 type) BMessage reply; command.AddInt32("mouse_type", type); - return _control_input_server_(&command, &reply) == B_OK; + return _control_input_server_(&command, &reply); } @@ -158,7 +158,7 @@ set_mouse_map(mouse_map *map) BMessage reply; command.AddData("mousemap", B_ANY_TYPE, map, sizeof(mouse_map)); - return _control_input_server_(&command, &reply) == B_OK; + return _control_input_server_(&command, &reply); } _IMPEXP_BE status_t @@ -182,7 +182,7 @@ set_click_speed(bigtime_t speed) BMessage command(IS_SET_CLICK_SPEED); BMessage reply; command.AddInt64("speed", speed); - return _control_input_server_(&command, &reply) == B_OK; + return _control_input_server_(&command, &reply); } @@ -207,7 +207,7 @@ set_mouse_speed(int32 speed) BMessage command(IS_SET_MOUSE_SPEED); BMessage reply; command.AddInt32("speed", speed); - return _control_input_server_(&command, &reply) == B_OK; + return _control_input_server_(&command, &reply); } @@ -232,7 +232,7 @@ set_mouse_acceleration(int32 speed) BMessage command(IS_SET_MOUSE_ACCELERATION); BMessage reply; command.AddInt32("speed", speed); - return _control_input_server_(&command, &reply) == B_OK; + return _control_input_server_(&command, &reply); } @@ -257,7 +257,7 @@ set_key_repeat_rate(int32 rate) BMessage command(IS_SET_KEY_REPEAT_RATE); BMessage reply; command.AddInt32("rate", rate); - return _control_input_server_(&command, &reply) == B_OK; + return _control_input_server_(&command, &reply); } @@ -282,7 +282,7 @@ set_key_repeat_delay(bigtime_t delay) BMessage command(IS_SET_KEY_REPEAT_DELAY); BMessage reply; command.AddInt64("delay", delay); - return _control_input_server_(&command, &reply) == B_OK; + return _control_input_server_(&command, &reply); }