mirror of
				https://github.com/encounter/SDL.git
				synced 2025-10-25 19:20:25 +00:00 
			
		
		
		
	iOS: Fixed keyboard demo ignoring quit requests and window closing.
This also fixed a warning about an unused variable.
This commit is contained in:
		
							parent
							
								
									e9ca5b28a6
								
							
						
					
					
						commit
						bd60850b82
					
				| @ -253,7 +253,7 @@ main(int argc, char *argv[]) | ||||
| 
 | ||||
|     int done = 0; | ||||
|     /* loop till we get SDL_Quit */ | ||||
|     while (SDL_WaitEvent(&event)) { | ||||
|     while (!done && SDL_WaitEvent(&event)) { | ||||
|         switch (event.type) { | ||||
|         case SDL_QUIT: | ||||
|             done = 1; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user