Commit 61422aa7 authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:Fluorohydride/ygopro into patch-srv

parents 5393f6a6 8ac177c6
...@@ -11,7 +11,6 @@ DataManager dataManager; ...@@ -11,7 +11,6 @@ DataManager dataManager;
bool DataManager::LoadDB(const wchar_t* wfile) { bool DataManager::LoadDB(const wchar_t* wfile) {
char file[256]; char file[256];
wchar_t strBuffer[4096];
BufferIO::EncodeUTF8(wfile, file); BufferIO::EncodeUTF8(wfile, file);
#ifdef _WIN32 #ifdef _WIN32
IReadFile* reader = FileSystem->createAndOpenFile(wfile); IReadFile* reader = FileSystem->createAndOpenFile(wfile);
...@@ -37,6 +36,7 @@ bool DataManager::LoadDB(const wchar_t* wfile) { ...@@ -37,6 +36,7 @@ bool DataManager::LoadDB(const wchar_t* wfile) {
return Error(&db); return Error(&db);
CardDataC cd; CardDataC cd;
CardString cs; CardString cs;
wchar_t strBuffer[4096];
int step = 0; int step = 0;
do { do {
step = sqlite3_step(pStmt); step = sqlite3_step(pStmt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment