Fix a minor issue 51/10151/2
Sylvestre Ledru [Tue, 8 Jan 2013 13:59:22 +0000 (14:59 +0100)]
Change-Id: Ic5bc73329aa00b5a321bd799588936204ea4f9f2

scilab/modules/localization/sci_gateway/c/sci_setdefaultlanguage.c

index 73b7161..0f50af7 100644 (file)
@@ -41,7 +41,7 @@ int sci_setdefaultlanguage(char *fname,unsigned long fname_len)
                        sciprint(_("%s: This feature is only used on Windows.\n"), fname);
                }
                m1 = 1; n1 = 1;
-               CreateVar(Rhs+1,MATRIX_OF_BOOLEAN_DATATYPE, &n1,&n1,&l1);
+               CreateVar(Rhs+1,MATRIX_OF_BOOLEAN_DATATYPE, &m1,&n1,&l1);
                *istk(l1)=(int)(FALSE);
 
                LhsVar(1) = Rhs+1;