1
0
Fork 0

PROJECT: AStyle

This commit is contained in:
mrexodia 2016-06-23 19:10:04 +02:00
parent 7f171bdd6b
commit 02a58ab83e
No known key found for this signature in database
GPG Key ID: D72F9A4FAA0073B4
3 changed files with 55 additions and 53 deletions

View File

@ -2,7 +2,8 @@
#include "resource1.h" // String resources
inline std::wstring _LoadResString(UINT uID) {
inline std::wstring _LoadResString(UINT uID)
{
wchar_t* p = nullptr;
int len = ::LoadStringW(NULL, uID, reinterpret_cast<LPWSTR>(&p), 0);
if(len > 0)

View File

@ -431,7 +431,8 @@ void CPUDisassembly::setupRightClickContextMenu()
const char* shortcutTable[] = {nullptr, "ActionTreatSelectionAsByte", nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
nullptr, nullptr, nullptr, nullptr,
"ActionTreatSelectionAsASCII", "ActionTreatSelectionAsUNICODE", nullptr,
nullptr, nullptr, nullptr};
nullptr, nullptr, nullptr
};
ENCODETYPE enctypeTable[] = {enc_code, enc_byte, enc_word, enc_dword, enc_fword, enc_qword, enc_tbyte, enc_oword, enc_middle,
enc_real4, enc_real8, enc_real10 , enc_middle,