Commit 24de6bb2 authored by Chen Bill's avatar Chen Bill

struct Config: path string changed to wchar_t[256]

parent 39553f99
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
#include <mutex> #include <mutex>
#include <functional> #include <functional>
#define DEFAULT_DUEL_RULE 5 constexpr int DEFAULT_DUEL_RULE = 5;
constexpr int CONFIG_LINE_SIZE = 1024;
namespace ygo { namespace ygo {
...@@ -36,12 +37,13 @@ struct Config { ...@@ -36,12 +37,13 @@ struct Config {
wchar_t lastport[10]{}; wchar_t lastport[10]{};
wchar_t nickname[20]{}; wchar_t nickname[20]{};
wchar_t gamename[20]{}; wchar_t gamename[20]{};
wchar_t lastcategory[64]{}; wchar_t roompass[20]{};
wchar_t lastdeck[64]{}; //path
wchar_t lastcategory[256]{};
wchar_t lastdeck[256]{};
wchar_t textfont[256]{}; wchar_t textfont[256]{};
wchar_t numfont[256]{}; wchar_t numfont[256]{};
wchar_t roompass[20]{}; wchar_t bot_deck_path[256]{};
wchar_t bot_deck_path[64]{};
//settings //settings
int chkMAutoPos{ 0 }; int chkMAutoPos{ 0 };
int chkSTAutoPos{ 1 }; int chkSTAutoPos{ 1 };
......
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