mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-26 03:17:39 +00:00 
			
		
		
		
	Enter now correctly accepts in the number dialog
This commit is contained in:
		| @@ -428,7 +428,7 @@ namespace dialog { | ||||
|       unsigned char* pts = (unsigned char*) &color; | ||||
|       pts[uni - 'A'] = x; | ||||
|       } | ||||
|     else if(uni == ' ' || uni == '\n') { | ||||
|     else if(uni == ' ' || uni == '\n' || uni == '\r') { | ||||
|       bool inHistory = false; | ||||
|       for(int i=0; i<10; i++) if(colorhistory[i] == (unsigned) color) | ||||
|         inHistory = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue