Use an explicit Unicode reference.

This should be less likely of triggering weird issues with Visual Studio.
This commit is contained in:
Unknown W. Brackets committed 2016-08-07 18:02:10 -07:00
1 parent f0a8e931ff
commit 34358fb907
2 files changed
+3 -7

No files matched your search

-4
View File
@@ -22,9 +22,5 @@ charset = utf-16le
# This file may need to force a BOM so compilers treat as utf-8.
charset = utf-8-bom
[Windows/GEDebugger/CtrlDisplayListView.cpp]
# This file may need to force a BOM so compilers treat as utf-8.
charset = utf-8-bom
[Windows/version.rc]
charset = utf-16le
+3 -3
View File
@@ -1,4 +1,4 @@
#include "Windows/GEDebugger/CtrlDisplayListView.h"
#include "Windows/GEDebugger/CtrlDisplayListView.h"
#include "Windows/GEDebugger/GEDebugger.h"
#include "Windows/InputBox.h"
#include "Windows/Main.h"
@@ -230,7 +230,7 @@ void CtrlDisplayListView::onPaint(WPARAM wParam, LPARAM lParam)
if (address == list.pc)
{
TextOut(hdc,pixelPositions.opcodeStart-8,rowY1,L"■",1);
TextOut(hdc,pixelPositions.opcodeStart-8,rowY1,L"\x25A0",1);
}
const char* opcode = op.desc.c_str();
@@ -473,4 +473,4 @@ bool CtrlDisplayListView::curAddressIsVisible()
{
u32 windowEnd = windowStart + visibleRows * instructionSize;
return curAddress >= windowStart && curAddress < windowEnd;
}
}