mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	TextUnformatted: Using memchr(), fixed not properly testing for text_end bound + comments.
Internals: Added ImStreolRange() + used in LogRenderedText() + comments.
This commit is contained in:
		| @@ -141,7 +141,8 @@ IMGUI_API void          ImStrncpy(char* dst, const char* src, size_t count); | ||||
| IMGUI_API char*         ImStrdup(const char* str); | ||||
| IMGUI_API const char*   ImStrchrRange(const char* str_begin, const char* str_end, char c); | ||||
| IMGUI_API int           ImStrlenW(const ImWchar* str); | ||||
| IMGUI_API const ImWchar*ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin); // Find beginning-of-line | ||||
| IMGUI_API const char*   ImStreolRange(const char* str, const char* str_end);                // End end-of-line | ||||
| IMGUI_API const ImWchar*ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin);   // Find beginning-of-line | ||||
| IMGUI_API const char*   ImStristr(const char* haystack, const char* haystack_end, const char* needle, const char* needle_end); | ||||
| IMGUI_API void          ImStrTrimBlanks(char* str); | ||||
| IMGUI_API int           ImFormatString(char* buf, size_t buf_size, const char* fmt, ...) IM_FMTARGS(3); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user