Mercurial > hg > xemacs-beta
comparison src/sound.h @ 5125:b5df3737028a ben-lisp-object
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 24 Feb 2010 01:58:04 -0600 |
parents | 4aebb0131297 |
children | 308d34e9f07d |
comparison
equal
deleted
inserted
replaced
5124:623d57b7fbe8 | 5125:b5df3737028a |
---|---|
33 # define sound_perror(string) \ | 33 # define sound_perror(string) \ |
34 do { \ | 34 do { \ |
35 Ibyte *errmess; \ | 35 Ibyte *errmess; \ |
36 Ibyte *string_int; \ | 36 Ibyte *string_int; \ |
37 GET_STRERROR (errmess, errno); \ | 37 GET_STRERROR (errmess, errno); \ |
38 EXTERNAL_TO_C_STRING (string, string_int, Qnative); \ | 38 string_int = EXTERNAL_TO_ITEXT (string, Qerror_message_encoding); \ |
39 warn_when_safe (Qsound, Qerror, "audio: %s, %s", string_int, errmess); \ | 39 warn_when_safe (Qsound, Qerror, "audio: %s, %s", string_int, errmess); \ |
40 } while (0) | 40 } while (0) |
41 # define sound_warn(string) \ | 41 # define sound_warn(string) \ |
42 do { \ | 42 do { \ |
43 Ibyte *string_int; \ | 43 Ibyte *string_int; \ |
44 EXTERNAL_TO_C_STRING (GETTEXT (string), string_int, Qnative); \ | 44 string_int = EXTERNAL_TO_ITEXT (GETTEXT (string), Qerror_message_encoding); \ |
45 warn_when_safe (Qsound, Qwarning, "audio: %s", string_int); \ | 45 warn_when_safe (Qsound, Qwarning, "audio: %s", string_int); \ |
46 } while (0) | 46 } while (0) |