summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-09-28 00:47:12 +1000
committer Vas Crabb <vas@vastheman.com>2021-09-28 00:47:12 +1000
commitd173b601c301a3c75a5c351bdd623b4d984593a9 (patch)
tree63ad6cc8cbf48c27be16a4bbc5a826ca400184a5 /src/osd
parent839d2e69e9584575cd06e7648f9050b9a769d5bd (diff)
Fixed some software list issues:
apxen_flop.xml: Marked diag bad and unsupported as the disk image is missing protection data. pc8001mk2_flop.xml, pc8801_flop.xml: Removed some entries that were inadvertently duplicated.
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/debugger/qt/debuggerview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/qt/debuggerview.cpp b/src/osd/modules/debugger/qt/debuggerview.cpp
index f8ffda536b1..a1c8bcf2aec 100644
--- a/src/osd/modules/debugger/qt/debuggerview.cpp
+++ b/src/osd/modules/debugger/qt/debuggerview.cpp
@@ -332,7 +332,7 @@ void DebuggerView::copyVisibleSlot()
text += wchar_t(viewdata[col].byte);
std::string::size_type const nonblank = text.find_last_not_of("\t\n\v\r ");
if (nonblank != std::string::npos)
- text.resize((std::max)(nonblank + 1, start));
+ text.resize((std::max)(start, nonblank + 1));
text += "\n";
}