--- a/plugins/consoles/terminalkeyboardcons/terminalkeyboardcons.cpp Sat Aug 28 00:12:38 2010 +0100
+++ b/plugins/consoles/terminalkeyboardcons/terminalkeyboardcons.cpp Tue Aug 31 12:08:46 2010 +0100
@@ -100,13 +100,14 @@
User::Leave(err);
}
- // Idiotic driver only accepts connections from processes with nokia vid - like that will stop us
+ // Annoying driver only accepts connections from processes with nokia vid - like that will stop us
TUint originalVid = RProcess().VendorId();
RMemoryAccess memAccess;
User::LeaveIfError(memAccess.Open());
TProcessProperties props;
props.iVid = 0x101FB657;
- RProcess me; me.Open(RProcess().Id());
+ RProcess me;
+ User::LeaveIfError(me.Open(RProcess().Id()));
memAccess.SetProcessProperties(me, props);
err = iDriver.Open();