Changeset 592 in dev for trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp
- Timestamp:
- May 10, 2008, 6:18:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp
r587 r592 884 884 char *temp; 885 885 temp=(char *)i64data; 886 i2=compiler.GetObjectModule().dataTable.AddString( temp ); 886 if( compiler.IsUnicode() ) 887 { 888 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 889 } 890 else 891 { 892 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 893 } 887 894 HeapDefaultFree(temp); 888 895 … … 1053 1060 char *temp; 1054 1061 temp=(char *)i64data; 1055 i2=compiler.GetObjectModule().dataTable.AddString( temp ); 1062 if( compiler.IsUnicode() ) 1063 { 1064 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 1065 } 1066 else 1067 { 1068 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 1069 } 1056 1070 HeapDefaultFree(temp); 1057 1071
Note:
See TracChangeset
for help on using the changeset viewer.