From 9206a311b61f00157003f36e6fa535563b572848 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Mon, 1 Jan 2007 05:01:50 +0000 Subject: [PATCH] Fix Ab -> G# --- Sources/VLXMLDocument.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/VLXMLDocument.mm b/Sources/VLXMLDocument.mm index 6ff3762..e4e7234 100644 --- a/Sources/VLXMLDocument.mm +++ b/Sources/VLXMLDocument.mm @@ -117,7 +117,7 @@ const char * sSteps = "C DbD EbE F GbG AbA BbB "; int alt = sSteps[pitch+1] == 'b'; if (alt) if (useSharps) { - --step; // Db -> C# + step= step=='A' ? 'G' : step-1; // Db -> C# alt = 1; } else { alt = -1;