1
0
Fork 0

Fix a bug in the vardel command

This commit is contained in:
Duncan Ogilvie 2024-02-19 03:08:45 +01:00
parent a5f73b479f
commit 7a3851a607
1 changed files with 1 additions and 1 deletions

View File

@ -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]);