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:
f506dd7
)
dtfile: Resolve CID 87308
author
Peter Howkins
<flibble@users.sf.net>
Thu, 15 Jan 2015 15:05:45 +0000
(15:05 +0000)
committer
Peter Howkins
<flibble@users.sf.net>
Thu, 15 Jan 2015 15:05:45 +0000
(15:05 +0000)
cde/programs/dtfile/SharedMsgs.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtfile/SharedMsgs.c
b/cde/programs/dtfile/SharedMsgs.c
index 2813bcbb4805559ea255b01cd8e226a6f4c637be..d3f834a50b0c035a570bb33bd2369358ca82da49 100644
(file)
--- a/
cde/programs/dtfile/SharedMsgs.c
+++ b/
cde/programs/dtfile/SharedMsgs.c
@@
-66,7
+66,7
@@
#include "SharedMsgs.h"
-
+static char unknownmessage[] = "***Unknown shared message***";
/************************************************************************
*
@@
-150,5
+150,8
@@
GetSharedMessage(
return GETMESSAGE(30,21, "File Move Error");
case FILE_LINK_ERROR_TITLE:
return GETMESSAGE(30,22, "File Link Error");
+ default:
+ fprintf(stderr, "GetSharedMessage: unknown message %d\n", id);
+ return unknownmessage;
}
}