mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 05:01:05 +01:00 
			
		
		
		
	ImFormatString, ImFormatStringV(): clarifying specs so that passing a NULL buffer should return the desired length. (#1038)
This commit is contained in:
		| @@ -2359,6 +2359,7 @@ struct ExampleAppConsole | ||||
|  | ||||
|     void    AddLog(const char* fmt, ...) IM_FMTARGS(2) | ||||
|     { | ||||
|         // FIXME-OPT | ||||
|         char buf[1024]; | ||||
|         va_list args; | ||||
|         va_start(args, fmt); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user