projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
419a7ef
)
dtprintinfo: Coverity 89488
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:47:31 +0000
(
01:47
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 00:47:31 +0000
(
01:47
+0100)
cde/programs/dtprintinfo/UI/DtMainW.C
patch
|
blob
|
history
diff --git
a/cde/programs/dtprintinfo/UI/DtMainW.C
b/cde/programs/dtprintinfo/UI/DtMainW.C
index f0256be6c6ae3342fc8786d2e0f56f1bc4aaf0b2..952047c201f69ca27c40cb4cce9d3659a4bec205 100644
(file)
--- a/
cde/programs/dtprintinfo/UI/DtMainW.C
+++ b/
cde/programs/dtprintinfo/UI/DtMainW.C
@@
-123,7
+123,7
@@
void DtMainW::DisplayHelp(char *location_id, char *volume)
{
char old_msg[200];
- s
trcpy(old_msg
, status_line->Name());
+ s
nprintf(old_msg, sizeof(old_msg), "%s"
, status_line->Name());
status_line->Name(MESSAGE(GettingHelpL));
WorkingCursor(true);
if (!helpSystem)