diff options
author | nyamatongwe <unknown> | 2005-11-29 22:42:41 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-11-29 22:42:41 +0000 |
commit | b4d13bcf84be6ac80156338b14b99b606a53790e (patch) | |
tree | 5a9869c756a439660d79f6d422aa4afb224113a1 /win32/PlatWin.cxx | |
parent | 77d7b0c68d1ae80fd9a3a77cb180ac48c47631f6 (diff) | |
download | scintilla-mirror-b4d13bcf84be6ac80156338b14b99b606a53790e.tar.gz |
A small amount of use of TCHAR avoids simplest issues when
compiling as Unicode. Compiling as Unicode still not supported.
Added DebugBreak call when assertion fails during paint
processing as otherwise debugger pops up later in abort
processing with different context.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 8f705ee11..a2862efb0 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -989,7 +989,7 @@ ListItemData *LineToItem::Append(const char *text, int imageIndex) { return item; } -const char ListBoxX_ClassName[] = "ListBoxX"; +const TCHAR ListBoxX_ClassName[] = TEXT("ListBoxX"); ListBox::ListBox() { } @@ -1983,6 +1983,7 @@ void Platform::Assert(const char *c, const char *file, int line) { } else { strcat(buffer, "\r\n"); Platform::DebugDisplay(buffer); + ::DebugBreak(); abort(); } } |