@@ -248,7 +248,6 @@ void AddTextMenuEntry(TextMenu *menu, const char *text)
248248{
249249 menu->entryStart [menu->rowCount ] = menu->textDataPos ;
250250 menu->entrySize [menu->rowCount ] = 0 ;
251- menu->entryHighlight [menu->rowCount ] = false ;
252251 int textLength = StrLength (text);
253252 for (int i = 0 ; i < textLength;) {
254253 if (text[i] != ' \0 ' ) {
@@ -266,7 +265,6 @@ void AddTextMenuEntryW(TextMenu *menu, const ushort *text)
266265{
267266 menu->entryStart [menu->rowCount ] = menu->textDataPos ;
268267 menu->entrySize [menu->rowCount ] = 0 ;
269- menu->entryHighlight [menu->rowCount ] = false ;
270268 int textLength = StrLengthW (text);
271269 for (int i = 0 ; i < textLength;) {
272270 if (text[i] != ' \0 ' ) {
@@ -284,7 +282,6 @@ void SetTextMenuEntry(TextMenu *menu, const char *text, int rowID)
284282{
285283 menu->entryStart [rowID] = menu->textDataPos ;
286284 menu->entrySize [rowID] = 0 ;
287- menu->entryHighlight [menu->rowCount ] = false ;
288285 int textLength = StrLength (text);
289286 for (int i = 0 ; i < textLength;) {
290287 if (text[i] != ' \0 ' ) {
@@ -301,7 +298,6 @@ void SetTextMenuEntryW(TextMenu *menu, const ushort *text, int rowID)
301298{
302299 menu->entryStart [rowID] = menu->textDataPos ;
303300 menu->entrySize [rowID] = 0 ;
304- menu->entryHighlight [menu->rowCount ] = false ;
305301 int textLength = StrLengthW (text);
306302 for (int i = 0 ; i < textLength;) {
307303 if (text[i] != ' \0 ' ) {
@@ -318,7 +314,6 @@ void EditTextMenuEntry(TextMenu *menu, const char *text, int rowID)
318314{
319315 int entryPos = menu->entryStart [rowID];
320316 menu->entrySize [rowID] = 0 ;
321- menu->entryHighlight [menu->rowCount ] = false ;
322317 int textLength = StrLength (text);
323318 for (int i = 0 ; i < textLength;) {
324319 if (text[i] != ' \0 ' ) {
0 commit comments