diff --git a/clib.json b/clib.json index dbc6ab17c..af0eaf08e 100644 --- a/clib.json +++ b/clib.json @@ -1,6 +1,6 @@ { "name": "nuklear", - "version": "4.12.3", + "version": "4.12.4", "repo": "Immediate-Mode-UI/Nuklear", "description": "A small ANSI C gui toolkit", "keywords": ["gl", "ui", "toolkit"], diff --git a/nuklear.h b/nuklear.h index 8c3fea994..8581bbc0a 100644 --- a/nuklear.h +++ b/nuklear.h @@ -4843,7 +4843,7 @@ struct nk_command_text { unsigned short w, h; float height; int length; - char string[1]; + char string[2]; }; enum nk_command_clipping { @@ -30698,6 +30698,7 @@ nk_tooltipfv(struct nk_context *ctx, const char *fmt, va_list args) /// - [y]: Minor version with non-breaking API and library changes /// - [z]: Patch version with no direct changes to the API /// +/// - 2024/12/11 (4.12.4) - Fix array subscript [0, 0] is outside array bounds of ‘char[1]’ /// - 2024/12/11 (4.12.3) - Fix border color for property widgets /// - 2024/11/20 (4.12.2) - Fix int/float type conversion warnings in `nk_roundf` /// - 2024/03/07 (4.12.1) - Fix bitwise operations warnings in C++20 diff --git a/src/CHANGELOG b/src/CHANGELOG index 37c5bebf7..89405d0c5 100644 --- a/src/CHANGELOG +++ b/src/CHANGELOG @@ -7,6 +7,7 @@ /// - [y]: Minor version with non-breaking API and library changes /// - [z]: Patch version with no direct changes to the API /// +/// - 2024/12/11 (4.12.4) - Fix array subscript [0, 0] is outside array bounds of ‘char[1]’ /// - 2024/12/11 (4.12.3) - Fix border color for property widgets /// - 2024/11/20 (4.12.2) - Fix int/float type conversion warnings in `nk_roundf` /// - 2024/03/07 (4.12.1) - Fix bitwise operations warnings in C++20 diff --git a/src/nuklear.h b/src/nuklear.h index a76d384c1..9b526566b 100644 --- a/src/nuklear.h +++ b/src/nuklear.h @@ -4621,7 +4621,7 @@ struct nk_command_text { unsigned short w, h; float height; int length; - char string[1]; + char string[2]; }; enum nk_command_clipping {