Skip to content

Commit

Permalink
Update Utils.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphalaneous committed Jun 27, 2024
1 parent 46cffcd commit d220dae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ class Utils {
return newSplash;
}

#define _CRT_SECURE_NO_WARNINGS

static std::string wstrToStr(std::wstring wstr) {

int slength = (int)wstr.length() + 1;
Expand All @@ -224,6 +226,8 @@ class Utils {
return r;
}

#undef _CRT_SECURE_NO_WARNINGS

static ccColor3B colorForCode(wchar_t code){

switch(code){
Expand Down

0 comments on commit d220dae

Please sign in to comment.