Commit 734cb82b authored by mercury233's avatar mercury233

minor change declare order

parent 20acc764
...@@ -13,7 +13,6 @@ DataManager dataManager; ...@@ -13,7 +13,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 YGOPRO_SERVER_MODE #ifdef YGOPRO_SERVER_MODE
sqlite3* pDB; sqlite3* pDB;
...@@ -53,6 +52,7 @@ bool DataManager::LoadDB(const wchar_t* wfile) { ...@@ -53,6 +52,7 @@ bool DataManager::LoadDB(const wchar_t* wfile) {
#endif #endif
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