@@ -77,8 +77,8 @@ public static bool Combo(string label, ref int current_item, string[] items, int
7777 fixed ( char * sPtr = s )
7878 {
7979 offset += Encoding . UTF8 . GetBytes ( sPtr , s . Length , native_items_data + offset , items_byteCounts [ i ] ) ;
80- offset += 1 ;
8180 native_items_data [ offset ] = 0 ;
81+ offset += 1 ;
8282 }
8383 }
8484 byte * * native_items = stackalloc byte * [ items . Length ] ;
@@ -126,8 +126,8 @@ public static bool Combo(string label, ref int current_item, string[] items, int
126126 fixed ( char * sPtr = s )
127127 {
128128 offset += Encoding . UTF8 . GetBytes ( sPtr , s . Length , native_items_data + offset , items_byteCounts [ i ] ) ;
129- offset += 1 ;
130129 native_items_data [ offset ] = 0 ;
130+ offset += 1 ;
131131 }
132132 }
133133 byte * * native_items = stackalloc byte * [ items . Length ] ;
@@ -4901,8 +4901,8 @@ public static bool ListBox(string label, ref int current_item, string[] items, i
49014901 fixed ( char * sPtr = s )
49024902 {
49034903 offset += Encoding . UTF8 . GetBytes ( sPtr , s . Length , native_items_data + offset , items_byteCounts [ i ] ) ;
4904- offset += 1 ;
49054904 native_items_data [ offset ] = 0 ;
4905+ offset += 1 ;
49064906 }
49074907 }
49084908 byte * * native_items = stackalloc byte * [ items . Length ] ;
@@ -4950,8 +4950,8 @@ public static bool ListBox(string label, ref int current_item, string[] items, i
49504950 fixed ( char * sPtr = s )
49514951 {
49524952 offset += Encoding . UTF8 . GetBytes ( sPtr , s . Length , native_items_data + offset , items_byteCounts [ i ] ) ;
4953- offset += 1 ;
49544953 native_items_data [ offset ] = 0 ;
4954+ offset += 1 ;
49554955 }
49564956 }
49574957 byte * * native_items = stackalloc byte * [ items . Length ] ;
0 commit comments