length fix
This commit is contained in:
		
							parent
							
								
									8f064c9e40
								
							
						
					
					
						commit
						e13734e869
					
				@ -133,7 +133,7 @@ public int menu_vote_poll_options(Menu menu, MenuAction action, int iclient, int
 | 
			
		||||
		{
 | 
			
		||||
			case MenuAction_Select:
 | 
			
		||||
			{
 | 
			
		||||
				char info[32];
 | 
			
		||||
				char info[generic_length];
 | 
			
		||||
				menu.GetItem(selection, info, sizeof(info));
 | 
			
		||||
				int coloumn_index = StringToInt(info);
 | 
			
		||||
				mysql_insert_poll_vote(iclient, coloumn_index, admin_table_edit[iclient]);
 | 
			
		||||
@ -156,7 +156,7 @@ public int MenuHandler3(Menu menu, MenuAction action, int iclient3, int selectio
 | 
			
		||||
		{
 | 
			
		||||
			case MenuAction_Select:
 | 
			
		||||
			{
 | 
			
		||||
				char info[32];
 | 
			
		||||
				char info[generic_length];
 | 
			
		||||
				menu.GetItem(selection, info, sizeof(info));
 | 
			
		||||
				//PrintToChat(iclient3, "admin_editing[iclient3]: %i \ninfo: %s", admin_editing[iclient3], info);
 | 
			
		||||
				switch(admin_editing[iclient3])
 | 
			
		||||
@ -201,7 +201,7 @@ public int menu_edit_poll_options(Menu menu, MenuAction action, int iclient4, in
 | 
			
		||||
		{
 | 
			
		||||
			case MenuAction_Select:
 | 
			
		||||
			{
 | 
			
		||||
				char info[32];
 | 
			
		||||
				char info[generic_length];
 | 
			
		||||
				menu.GetItem(selection, info, sizeof(info));
 | 
			
		||||
				if (StrContains(admin_table_coloumn_edit, "rewrite") != -1)
 | 
			
		||||
				{
 | 
			
		||||
@ -238,7 +238,7 @@ public int editpollmenu(Menu menu, MenuAction action, int iclient5, int selectio
 | 
			
		||||
		{
 | 
			
		||||
			case MenuAction_Select:
 | 
			
		||||
			{
 | 
			
		||||
				char info[32];
 | 
			
		||||
				char info[generic_length];
 | 
			
		||||
				menu.GetItem(selection, info, sizeof(info));
 | 
			
		||||
				if (admin_editing[iclient5] == 7)
 | 
			
		||||
				{
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user