3 /* Copyright Massachusetts Institute of Technology 1985 */
4 /* Copyright (C) 2002, 2003, 2004, 2005,
5 2006 Free Software Foundation, Inc. */
8 * XMenu: MIT Project Athena, X Window system menu package
10 * XMenuError - Returns a string description of the current
11 * XMenu error status flag.
13 * Author: Tony Della Fera, DEC
23 static char message
[128]; /* Error message buffer. */
25 if ((_XMErrorCode
< XME_CODE_COUNT
) && (_XMErrorCode
>= 0)) {
26 return(_XMErrorList
[_XMErrorCode
]);
28 sprintf(message
, "Unknown _XMErrorCode: %d", _XMErrorCode
);
32 /* arch-tag: 5fff4a23-40ca-40d0-8887-c50fc73dea9d
33 (do not change this comment) */