From f049fefbf98d9d268cad2fa446322dbd919d7a86 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 30 Apr 2025 18:39:28 +0200 Subject: [PATCH] added quotation to svID value since it char* --- .../ModelGenerator/ModelGenerator/src/C_Structures.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/model_generator_dotnet/ModelGenerator/ModelGenerator/src/C_Structures.cs b/tools/model_generator_dotnet/ModelGenerator/ModelGenerator/src/C_Structures.cs index e0ea5d5a..53ad9a38 100644 --- a/tools/model_generator_dotnet/ModelGenerator/ModelGenerator/src/C_Structures.cs +++ b/tools/model_generator_dotnet/ModelGenerator/ModelGenerator/src/C_Structures.cs @@ -779,7 +779,7 @@ namespace ModelGenerator.C_Structures // cText += " NULL,\n"; if (SMVControl.SclSMVControl.SmvID != null) - cText += " " + SMVControl.SclSMVControl.SmvID + ",\n"; + cText += " \"" + SMVControl.SclSMVControl.SmvID + "\",\n"; else cText += " NULL,\n";