Fix automatic function naming (#1942)

This commit is contained in:
Florian Märkl 2019-12-18 14:20:33 +01:00 committed by Itay Cohen
parent 65c6dd31d6
commit fd98694c9a

View File

@ -1020,7 +1020,7 @@ QString CutterCore::createFunctionAt(RVA addr, QString name)
{
static const QRegularExpression regExp("[^a-zA-Z0-9_]");
name.remove(regExp);
QString command = "af " + name + " " + RAddressString(addr);
QString command = "af " + name + " @ " + RAddressString(addr);
QString ret = cmd(command);
emit functionsChanged();
return ret;