Mercurial > emacs
view etc/letter.xpm @ 44481:a0dc261f564a
(toplevel): Include stdarg.h.
(MAX_DATA_LEN, MAX_SCORES): New.
(SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
default to ~/.emacs.d/games.
(get_user_id): Don't zero uid in the case where we can't get the
username.
(lose): New function.
(main): Actually use `max', and default it to MAX_SCORES.
Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
function.
(read_score): Handle the case of reading unamelen characters, then
finishing. Use mktemp if mkstemp isn't available.
(lock_file, unlock_file): Delete unused versions.
(lock_file): Always sleep, even if we unlinked the lock file.
author | Colin Walters <walters@gnu.org> |
---|---|
date | Wed, 10 Apr 2002 19:10:23 +0000 |
parents | 292640c5a4d0 |
children | bc20bf61a6e9 |
line wrap: on
line source
/* XPM */ static char * letter_xpm[] = { "14 10 2 1", ". c #000000", " c #FFFFFF", "..............", "... ...", ". . . .", ". . . .", ". .... .", ". . .. . .", ". . . .", ". . . .", ".. ..", ".............."};