Fix return char * when path is expected by explicit cast to
nana::string first.
This commit is contained in:
		
							parent
							
								
									3c13cec4b7
								
							
						
					
					
						commit
						4337222549
					
				@ -430,7 +430,7 @@ namespace nana {
 | 
			
		||||
						delete[] p;
 | 
			
		||||
						return s;
 | 
			
		||||
					}
 | 
			
		||||
					return buf;
 | 
			
		||||
					return (nana::string) buf;
 | 
			
		||||
				}
 | 
			
		||||
#elif defined(NANA_LINUX)
 | 
			
		||||
				const char * s = ::getenv("PWD");
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user