AEsthetic modifications
This commit is contained in:
parent
1178406aa9
commit
6c82b6333f
@ -20,6 +20,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
using namespace stdex;
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
@ -79,8 +80,8 @@ ZRCola::DBSource::character_bank::build_related_worker::~build_related_worker()
|
|||||||
|
|
||||||
unsigned int ZRCola::DBSource::character_bank::build_related_worker::process()
|
unsigned int ZRCola::DBSource::character_bank::build_related_worker::process()
|
||||||
{
|
{
|
||||||
stdex::heap_allocator<wchar_t> al(m_heap);
|
heap_allocator<wchar_t> al(m_heap);
|
||||||
basic_string<wchar_t, char_traits<wchar_t>, stdex::heap_allocator<wchar_t> > rel(al);
|
basic_string<wchar_t, char_traits<wchar_t>, heap_allocator<wchar_t> > rel(al);
|
||||||
|
|
||||||
for (size_type i = m_from; i < m_to; i++) {
|
for (size_type i = m_from; i < m_to; i++) {
|
||||||
ZRCola::DBSource::character &chr = *(m_cb->at(i).get());
|
ZRCola::DBSource::character &chr = *(m_cb->at(i).get());
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
using namespace stdex;
|
||||||
|
|
||||||
|
|
||||||
///
|
///
|
||||||
@ -102,7 +103,7 @@ int _tmain(int argc, _TCHAR *argv[])
|
|||||||
set<wstring> pot;
|
set<wstring> pot;
|
||||||
|
|
||||||
// Open file ID.
|
// Open file ID.
|
||||||
streamoff dst_start = stdex::idrec::open<ZRCola::recordid_t, ZRCola::recordsize_t>(dst, ZRCOLA_DB_ID);
|
streamoff dst_start = idrec::open<ZRCola::recordid_t, ZRCola::recordsize_t>(dst, ZRCOLA_DB_ID);
|
||||||
|
|
||||||
{
|
{
|
||||||
// Get translations.
|
// Get translations.
|
||||||
@ -526,7 +527,7 @@ int _tmain(int argc, _TCHAR *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stdex::idrec::close<ZRCola::recordid_t, ZRCola::recordsize_t, ZRCOLA_RECORD_ALIGN>(dst, dst_start);
|
idrec::close<ZRCola::recordid_t, ZRCola::recordsize_t, ZRCOLA_RECORD_ALIGN>(dst, dst_start);
|
||||||
|
|
||||||
if (dst.fail()) {
|
if (dst.fail()) {
|
||||||
_ftprintf(stderr, wxT("%s: error ZCC1000: Writing to output file failed.\n"), (LPCTSTR)filenameOut.c_str());
|
_ftprintf(stderr, wxT("%s: error ZCC1000: Writing to output file failed.\n"), (LPCTSTR)filenameOut.c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user