From 121fdc5703bb681af99b879f262a0224bf2e2966 Mon Sep 17 00:00:00 2001 From: James Crook Date: Sun, 15 Apr 2018 15:09:15 +0100 Subject: [PATCH 1/2] Fix non-ASCII characters in wxLogDebug The LogDebugs aren't needed now, as we can get the info via Scripting. --- src/commands/ScreenshotCommand.cpp | 1 - src/widgets/KeyView.cpp | 9 --------- 2 files changed, 10 deletions(-) diff --git a/src/commands/ScreenshotCommand.cpp b/src/commands/ScreenshotCommand.cpp index bdfed1c45..d93ec38a1 100644 --- a/src/commands/ScreenshotCommand.cpp +++ b/src/commands/ScreenshotCommand.cpp @@ -357,7 +357,6 @@ void ExploreMenu( if (item->IsCheck() && item->IsChecked()) flags +=2; - wxLogDebug("T.Add( %2i, %2i, 0, \"%s¬%s\" );", depth, flags, Label,Accel ); if (item->IsSubMenu()) { pMenu = item->GetSubMenu(); ExploreMenu( context, pMenu, item->GetId(), depth+1 ); diff --git a/src/widgets/KeyView.cpp b/src/widgets/KeyView.cpp index fe5d66bcf..efd74ad13 100644 --- a/src/widgets/KeyView.cpp +++ b/src/widgets/KeyView.cpp @@ -354,15 +354,6 @@ KeyView::SetView(ViewByType type) SelectNode(index); } -#if 0 - // JKC: Optional code to list commants and shortcuts to debug console. - int nLines = mLines.GetCount(); - int flags = 8; - for(int i=0;idepth-1, flags, mLines[i]->label,mLines[i]->key ); - } -#endif - return; } From 763b2845aea020c857ff0ebc850d2c72b8285c0b Mon Sep 17 00:00:00 2001 From: James Crook Date: Sun, 15 Apr 2018 15:09:48 +0100 Subject: [PATCH 2/2] Fix non-ASCII character in portaudio comment --- lib-src/portaudio-v19/src/common/pa_debugprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/portaudio-v19/src/common/pa_debugprint.c b/lib-src/portaudio-v19/src/common/pa_debugprint.c index f34d4bbf9..7e9e628fe 100644 --- a/lib-src/portaudio-v19/src/common/pa_debugprint.c +++ b/lib-src/portaudio-v19/src/common/pa_debugprint.c @@ -71,7 +71,7 @@ void PaUtil_SetDebugPrintFunction(PaUtilLogCallback cb) } /* - If your platform doesn’t have vsnprintf, you are stuck with a + If your platform doesn't have vsnprintf, you are stuck with a VERY dangerous alternative, vsprintf (with no n) */ #if _MSC_VER