mirror of
https://github.com/x64dbg/x64dbg.git
synced 2024-11-23 13:00:14 +00:00
Fix a bug in the vardel command
This commit is contained in:
parent
a5f73b479f
commit
7a3851a607
@ -51,7 +51,7 @@ bool cbInstrVarDel(int argc, char* argv[])
|
||||
{
|
||||
if(IsArgumentsLessThan(argc, 2))
|
||||
return false;
|
||||
if(!vardel(argv[1], false))
|
||||
if(vardel(argv[1], false) != 0)
|
||||
dprintf(QT_TRANSLATE_NOOP("DBG", "Could not delete variable \"%s\"\n"), argv[1]);
|
||||
else
|
||||
dprintf(QT_TRANSLATE_NOOP("DBG", "Deleted variable \"%s\"\n"), argv[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user