equal
deleted
inserted
replaced
302 { |
302 { |
303 // Allocate memory for keystate array to hold all possible keys. |
303 // Allocate memory for keystate array to hold all possible keys. |
304 // This avoid possibility of memory allocation error when key is |
304 // This avoid possibility of memory allocation error when key is |
305 // added to key state array due to key press while application is |
305 // added to key state array due to key press while application is |
306 // executing. |
306 // executing. |
307 iKeyState.ReserveL(EKeyStateGranularity); |
307 iKeyState.Reserve(EKeyStateGranularity); |
308 |
308 |
309 Server().AddSession(); |
309 Server().AddSession(); |
310 } |
310 } |
311 |
311 |
312 // -------------------------------------------------------------------------- |
312 // -------------------------------------------------------------------------- |