Sfoglia il codice sorgente

Fixed incorrect function name decl for struct init.

woollybah 8 anni fa
parent
commit
e2677ffa68
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ctranslator.bmx

+ 1 - 1
ctranslator.bmx

@@ -1558,7 +1558,7 @@ t:+"NULLNULLNULL"
 					t = "_" + ctorMunged + "_ObjectNew" + TransArgs( expr.args,expr.ctor, "&" + expr.classDecl.actual.munged )
 				Else
 					If expr.classDecl.IsStruct() Then
-						t = "_" + ctorMunged + "_ObjectNew" + TransArgs( expr.args,expr.ctor)
+						t = ctorMunged + "_ObjectNew" + TransArgs( expr.args,expr.ctor)
 					Else
 						t = "_" + ctorMunged + "_ObjectNew" + TransArgs( expr.args,expr.ctor, "&" + expr.classDecl.actual.munged)
 					End If