No need to send string length on B_KEY_DOWN/UP
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12015 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1285,8 +1285,6 @@ InputServer::DispatchEvent(BMessage *message)
|
|||||||
appsvrlink->Attach(repeatcount);
|
appsvrlink->Attach(repeatcount);
|
||||||
appsvrlink->Attach(modifiers);
|
appsvrlink->Attach(modifiers);
|
||||||
appsvrlink->Attach(utf8data,sizeof(int8)*3);
|
appsvrlink->Attach(utf8data,sizeof(int8)*3);
|
||||||
int8 strlength = string.Length()+1;
|
|
||||||
appsvrlink->Attach(strlength);
|
|
||||||
appsvrlink->AttachString(string.String());
|
appsvrlink->AttachString(string.String());
|
||||||
appsvrlink->Attach(keyarray,sizeof(int8)*16);
|
appsvrlink->Attach(keyarray,sizeof(int8)*16);
|
||||||
appsvrlink->Flush();
|
appsvrlink->Flush();
|
||||||
@@ -1315,8 +1313,6 @@ InputServer::DispatchEvent(BMessage *message)
|
|||||||
appsvrlink->Attach(asciicode);
|
appsvrlink->Attach(asciicode);
|
||||||
appsvrlink->Attach(modifiers);
|
appsvrlink->Attach(modifiers);
|
||||||
appsvrlink->Attach(utf8data,sizeof(int8)*3);
|
appsvrlink->Attach(utf8data,sizeof(int8)*3);
|
||||||
int8 strlength = string.Length() + 1;
|
|
||||||
appsvrlink->Attach(strlength);
|
|
||||||
appsvrlink->AttachString(string.String());
|
appsvrlink->AttachString(string.String());
|
||||||
appsvrlink->Attach(keyarray,sizeof(int8)*16);
|
appsvrlink->Attach(keyarray,sizeof(int8)*16);
|
||||||
appsvrlink->Flush();
|
appsvrlink->Flush();
|
||||||
|
|||||||
Reference in New Issue
Block a user