jscript: Fix a copy-paste mistake.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Gabriel Ivăncescu 2019-11-14 18:11:09 +02:00 committed by Alexandre Julliard
parent 0a121bdddd
commit a4db4606e1
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ static void clear_script_queue(JScript *This)
static void clear_persistent_code_list(JScript *This)
{
while(!list_empty(&This->queued_code))
while(!list_empty(&This->persistent_code))
{
bytecode_t *iter = LIST_ENTRY(list_head(&This->persistent_code), bytecode_t, entry);
list_remove(&iter->entry);