Import of baseplugins.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401290
This commit is contained in:
Michael McKoy 2007-08-08 23:45:24 +00:00
parent 681477cd24
commit 59687e802d

View File

@ -328,6 +328,17 @@ public Handler_VoteCallback(Handle:menu, MenuAction:action, param1, param2)
} }
else if (action == MenuAction_Display) else if (action == MenuAction_Display)
{ {
decl String:display[64];
GetMenuItem(menu, param2, "", 0, _, display, sizeof(display));
if (g_voteType != voteType:question)
{
decl String:buffer[255];
Format(buffer, sizeof(buffer), "%T", display, param1);
return RedrawMenuItem(buffer);
}
} }
else if (action == MenuAction_DisplayItem) else if (action == MenuAction_DisplayItem)
{ {