Changeset 591 in dev for trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp
- Timestamp:
- May 10, 2008, 6:11:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp
r587 r591 876 876 char *temp; 877 877 temp=(char *)i64data; 878 i2=compiler.GetObjectModule().dataTable.AddString(temp,lstrlen(temp)); 878 if( compiler.IsUnicode() ) 879 { 880 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 881 } 882 else 883 { 884 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 885 } 879 886 HeapDefaultFree(temp); 880 887 … … 1065 1072 char *temp; 1066 1073 temp=(char *)i64data; 1067 i2=compiler.GetObjectModule().dataTable.AddString(temp,lstrlen(temp)); 1074 if( compiler.IsUnicode() ) 1075 { 1076 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 1077 } 1078 else 1079 { 1080 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 1081 } 1068 1082 HeapDefaultFree(temp); 1069 1083
Note:
See TracChangeset
for help on using the changeset viewer.