PROJECT: AStyle
This commit is contained in:
parent
7f171bdd6b
commit
02a58ab83e
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
#include "resource1.h" // String resources
|
#include "resource1.h" // String resources
|
||||||
|
|
||||||
inline std::wstring _LoadResString(UINT uID) {
|
inline std::wstring _LoadResString(UINT uID)
|
||||||
|
{
|
||||||
wchar_t* p = nullptr;
|
wchar_t* p = nullptr;
|
||||||
int len = ::LoadStringW(NULL, uID, reinterpret_cast<LPWSTR>(&p), 0);
|
int len = ::LoadStringW(NULL, uID, reinterpret_cast<LPWSTR>(&p), 0);
|
||||||
if(len > 0)
|
if(len > 0)
|
||||||
|
|
|
@ -431,7 +431,8 @@ void CPUDisassembly::setupRightClickContextMenu()
|
||||||
const char* shortcutTable[] = {nullptr, "ActionTreatSelectionAsByte", nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
|
const char* shortcutTable[] = {nullptr, "ActionTreatSelectionAsByte", nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
|
||||||
nullptr, nullptr, nullptr, nullptr,
|
nullptr, nullptr, nullptr, nullptr,
|
||||||
"ActionTreatSelectionAsASCII", "ActionTreatSelectionAsUNICODE", 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,
|
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,
|
enc_real4, enc_real8, enc_real10 , enc_middle,
|
||||||
|
|
Loading…
Reference in New Issue