Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions blingfireclient.library/src/FAImageDump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "blingfire-client_src_pch.h"
#include "FAConfig.h"
#include "FAImageDump.h"
#include <clocale>

namespace BlingFire
{
Expand Down Expand Up @@ -94,6 +95,7 @@ void FAImageDump::FALoadHeap (const char * pFileName)
LogAssert (pFileName);

FILE * file = NULL;
setlocale(LC_ALL, ".UTF8");
int res = fopen_s (&file, pFileName, "rb");
LogAssert (0 == res && NULL != file, "Failed to successfully open file %s", pFileName);

Expand Down