Mercurial > emacs
view oldXMenu/Error.c @ 112293:568ea4e08e90
* xterm.h (struct x_display_info): Remove stray semicolon.
The extra semicolon didn't conform to the C standard.
Problem reported by Sun cc.
| author | Paul Eggert <eggert@cs.ucla.edu> |
|---|---|
| date | Sun, 16 Jan 2011 23:27:25 -0800 |
| parents | ef719132ddfa |
| children |
line wrap: on
line source
/* Copyright Massachusetts Institute of Technology 1985 */ #include "copyright.h" /* * XMenu: MIT Project Athena, X Window system menu package * * XMenuError - Returns a string description of the current * XMenu error status flag. * * Author: Tony Della Fera, DEC * August, 1985 * */ #include "XMenuInt.h" char * XMenuError(void) { static char message[128]; /* Error message buffer. */ if ((_XMErrorCode < XME_CODE_COUNT) && (_XMErrorCode >= 0)) { return(_XMErrorList[_XMErrorCode]); } sprintf(message, "Unknown _XMErrorCode: %d", _XMErrorCode); return(message); }
