From fd98694c9a64146add244e42ac16ec6a5ba484a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Wed, 18 Dec 2019 14:20:33 +0100 Subject: [PATCH] Fix automatic function naming (#1942) --- src/core/Cutter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index ab593070..9d96a38e 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -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;