From dfbb63934c0dfc076e7febb8dd1c500a1acfe2c6 Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Tue, 19 May 2020 08:29:23 -0700 Subject: [PATCH] Debugger 2.9.0.18 --- source/Debugger/Debug.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source/Debugger/Debug.cpp b/source/Debugger/Debug.cpp index 7bd5b506..587e0071 100644 --- a/source/Debugger/Debug.cpp +++ b/source/Debugger/Debug.cpp @@ -538,6 +538,8 @@ void _Bookmark_Reset() { g_aBookmarks[ iBookmark ].bSet = false; } + + g_nBookmarks = 0; } @@ -647,11 +649,7 @@ Update_t CmdBookmarkClear (int nArgs) { if (! _tcscmp(g_aArgs[nArgs].sArg, g_aParameters[ PARAM_WILDSTAR ].m_sName)) { - for (iBookmark = 0; iBookmark < MAX_BOOKMARKS; iBookmark++ ) - { - if (g_aBookmarks[ iBookmark ].bSet) - g_aBookmarks[ iBookmark ].bSet = false; - } + _Bookmark_Reset(); break; }