mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	replaced [0] check for a string into a size() check
This commit is contained in:
		| @@ -258,7 +258,7 @@ struct key_configurer { | |||||||
|    |    | ||||||
|     getcstat = ' '; |     getcstat = ' '; | ||||||
|      |      | ||||||
|     for(int i=0; i<isize(shmupcmdtable); i++) if(shmupcmdtable[i][0]) |     for(int i=0; i<isize(shmupcmdtable); i++) if(shmupcmdtable[i].size()) | ||||||
|       dialog::addSelItem(XLAT(shmupcmdtable[i]), listkeys(*which_config, 16*sc+i), |       dialog::addSelItem(XLAT(shmupcmdtable[i]), listkeys(*which_config, 16*sc+i), | ||||||
|         setwhat ? (setwhat>1 && i == (setwhat&15) ? '?' : 0) : 'a'+i); |         setwhat ? (setwhat>1 && i == (setwhat&15) ? '?' : 0) : 'a'+i); | ||||||
|       else dialog::addBreak(100); |       else dialog::addBreak(100); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue