Keybindings: SDL_GetPrefPath result always ends with separator
This commit is contained in:
		
							parent
							
								
									5c3f4b905a
								
							
						
					
					
						commit
						9ac14800da
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -166,7 +166,7 @@ struct Header
 | 
				
			||||||
static void buildPath(const std::string &dir, uint32_t rgssVersion,
 | 
					static void buildPath(const std::string &dir, uint32_t rgssVersion,
 | 
				
			||||||
                      char *out, size_t outSize)
 | 
					                      char *out, size_t outSize)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	snprintf(out, outSize, "%s/keybindings.mkxp%u", dir.c_str(), rgssVersion);
 | 
						snprintf(out, outSize, "%skeybindings.mkxp%u", dir.c_str(), rgssVersion);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static bool writeBindings(const BDescVec &d, const std::string &dir,
 | 
					static bool writeBindings(const BDescVec &d, const std::string &dir,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue