ui/cocoa.m: Fix console selection keys
Fix console selection keys so that the right console is selected. Signed-off-by: John Arbuckle <programmingkidx@gmail.com> Message-id: 20171005190449.15591-1-programmingkidx@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
		
							parent
							
								
									8a8c493942
								
							
						
					
					
						commit
						fa73e14625
					
				| @ -631,7 +631,7 @@ QemuCocoaView *cocoaView; | ||||
| 
 | ||||
|                     // enable graphic console | ||||
|                     case Q_KEY_CODE_1 ... Q_KEY_CODE_9: // '1' to '9' keys | ||||
|                         console_select(keycode - 11); | ||||
|                         console_select(keycode - Q_KEY_CODE_1); | ||||
|                         break; | ||||
|                 } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 John Arbuckle
						John Arbuckle