Commit e49f4546 authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:Fluorohydride/ygopro

parents 7a732afb 2f0cae84
...@@ -73,12 +73,12 @@ extern char** environ; ...@@ -73,12 +73,12 @@ extern char** environ;
#include "../ocgcore/ocgapi.h" #include "../ocgcore/ocgapi.h"
template<size_t N, typename... TR> template<size_t N, typename... TR>
inline int myswprintf(wchar_t(&buf)[N], const wchar_t* fmt, TR&&... args) { inline int myswprintf(wchar_t(&buf)[N], const wchar_t* fmt, TR... args) {
return std::swprintf(buf, N, fmt, std::forward<TR>(args)...); return std::swprintf(buf, N, fmt, args...);
} }
template<size_t N, typename... TR> template<size_t N, typename... TR>
inline int mysnprintf(char(&buf)[N], const char* fmt, TR&&... args) { inline int mysnprintf(char(&buf)[N], const char* fmt, TR... args) {
return std::snprintf(buf, N, fmt, std::forward<TR>(args)...); return std::snprintf(buf, N, fmt, args...);
} }
inline FILE* mywfopen(const wchar_t* filename, const char* mode) { inline FILE* mywfopen(const wchar_t* filename, const char* mode) {
......
This diff is collapsed.
...@@ -1286,3 +1286,4 @@ ...@@ -1286,3 +1286,4 @@
!setname 0x1d7 艾克莉西娅 エクレシア !setname 0x1d7 艾克莉西娅 エクレシア
!setname 0x1d8 耀圣 エルフェンノーツ !setname 0x1d8 耀圣 エルフェンノーツ
!setname 0x1d9 磁力 マグネット !setname 0x1d9 磁力 マグネット
!setname 0x1da 世界末日 エンド・オブ・ザ・ワールド
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