Changeset 591 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/DataTableGenerator.cpp
- Timestamp:
- May 10, 2008, 6:11:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/DataTableGenerator.cpp
r589 r591 178 178 179 179 // 文字列バッファをデータ領域へ追加 180 dataTable.AddString( str ); 180 if( compiler.IsUnicode() ) 181 { 182 dataTable.AddWString( Jenga::Common::ToWString( str ) ); 183 } 184 else 185 { 186 dataTable.AddString( str ); 187 } 181 188 182 189 return dataTableOffset; … … 232 239 { 233 240 // Charポインタ 234 strOffset = dataTable.AddString( tempParamStr ); 241 if( compiler.IsUnicode() ) 242 { 243 strOffset = dataTable.AddWString( Jenga::Common::ToWString( tempParamStr ) ); 244 } 245 else 246 { 247 strOffset = dataTable.AddString( tempParamStr ); 248 } 235 249 } 236 250
Note:
See TracChangeset
for help on using the changeset viewer.