diff --git a/src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs b/src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs index 31c10cab6..ebb71cba9 100644 --- a/src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs +++ b/src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs @@ -115,11 +115,11 @@ public static string GenerateIdentifierName(Routine routine, RoutineModel model, ArgumentNullException.ThrowIfNull(model); - if (usePascalCase) + if (!usePascalCase) { var name = GenerateUniqueName(routine, model); - return CreateIdentifier(name, name, true).Item1; + return CreateIdentifier(name, name, false).Item1; } else {