Changed EventHook name storage to use AString (bug 6188, r=psychonic).
This commit is contained in:
+2
-2
@@ -69,11 +69,11 @@ struct EventHook
|
||||
IChangeableForward *pPostHook;
|
||||
bool postCopy;
|
||||
unsigned int refCount;
|
||||
char *name;
|
||||
ke::AString name;
|
||||
|
||||
static inline bool matches(const char *name, const EventHook *hook)
|
||||
{
|
||||
return strcmp(name, hook->name) == 0;
|
||||
return strcmp(name, hook->name.chars()) == 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user