From 86f767e1aa9187f88d14f81a7b94314fa439c398 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Wed, 14 Jul 2010 20:29:29 -0500 Subject: [PATCH] Made name param of GetConVarName() non-const (bug 4515, r=pred). --- plugins/include/console.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/console.inc b/plugins/include/console.inc index dd28371c..a1482d68 100644 --- a/plugins/include/console.inc +++ b/plugins/include/console.inc @@ -650,12 +650,12 @@ native SetConVarBounds(Handle:convar, ConVarBounds:type, bool:set, Float:value=0 * Retrieves the name of a console variable. * * @param convar Handle to the convar. - * @param value Buffer to store the name of the convar. + * @param name Buffer to store the name of the convar. * @param maxlength Maximum length of string buffer. * @noreturn * @error Invalid or corrupt Handle. */ -native GetConVarName(Handle:convar, const String:name[], maxlength); +native GetConVarName(Handle:convar, String:name[], maxlength); funcenum ConVarQueryFinished {