Index: plclass.cpp
===================================================================
--- plclass.cpp	(revision 6753)
+++ plclass.cpp	(working copy)
@@ -267,7 +267,7 @@
 static BOOL WINAPI KeyNameToInputRecord(const wchar_t *Name,INPUT_RECORD* RecKey)
 {
 	int Key=KeyNameToKeyW(Name);
-	return Key > 0?(KeyToInputRecord(Key,RecKey)>=0?TRUE:FALSE):FALSE;
+	return Key > 0?(KeyToInputRecord(Key,RecKey)!=0?TRUE:FALSE):FALSE;
 }
 
 #define GetPluginNumber(Id) (CtrlObject?CtrlObject->Plugins.PluginGuidToPluginNumber(*Id):-1)
