Commit 7c402969 authored by Jan Djärv's avatar Jan Djärv

Remove period at end of error message.

parent 57669b57
2003-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 2003-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* w32fns.c (XPutPixel):
* w32bdf.c (w32_init_bdf_font):
* sunfns.c (sel_read):
* process.c (Fmake_network_process):
* frame.c (store_frame_param):
* fontset.c (Fset_fontset_font):
* emacs.c (shut_down_emacs):
* ccl.c (ccl_driver): Remove period at end of error message.
* config.in: Regenerate. * config.in: Regenerate.
* xfns.c (x_window_to_frame, x_any_window_to_frame) * xfns.c (x_window_to_frame, x_any_window_to_frame)
......
...@@ -1872,7 +1872,7 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed) ...@@ -1872,7 +1872,7 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
break; break;
default: default:
sprintf(msg, "\nCCL: Unknown error type (%d).", ccl->status); sprintf(msg, "\nCCL: Unknown error type (%d)", ccl->status);
} }
msglen = strlen (msg); msglen = strlen (msg);
......
...@@ -1994,7 +1994,7 @@ shut_down_emacs (sig, no_x, stuff) ...@@ -1994,7 +1994,7 @@ shut_down_emacs (sig, no_x, stuff)
fflush (stdout); fflush (stdout);
reset_sys_modes (); reset_sys_modes ();
if (sig && sig != SIGTERM) if (sig && sig != SIGTERM)
fprintf (stderr, "Fatal error (%d).", sig); fprintf (stderr, "Fatal error (%d)", sig);
} }
} }
#else #else
......
...@@ -1012,7 +1012,7 @@ name of a font, REGISTRY is a registry name of a font. */) ...@@ -1012,7 +1012,7 @@ name of a font, REGISTRY is a registry name of a font. */)
from = XINT (XCAR (character)); from = XINT (XCAR (character));
to = XINT (XCDR (character)); to = XINT (XCDR (character));
if (!char_valid_p (from, 0) || !char_valid_p (to, 0)) if (!char_valid_p (from, 0) || !char_valid_p (to, 0))
error ("Character range should be by non-generic characters."); error ("Character range should be by non-generic characters");
if (!NILP (name) if (!NILP (name)
&& (SINGLE_BYTE_CHAR_P (from) || SINGLE_BYTE_CHAR_P (to))) && (SINGLE_BYTE_CHAR_P (from) || SINGLE_BYTE_CHAR_P (to)))
error ("Can't change font for a single byte character"); error ("Can't change font for a single byte character");
......
...@@ -2018,7 +2018,7 @@ store_frame_param (f, prop, val) ...@@ -2018,7 +2018,7 @@ store_frame_param (f, prop, val)
if (EQ (prop, Qminibuffer) && WINDOWP (val)) if (EQ (prop, Qminibuffer) && WINDOWP (val))
{ {
if (! MINI_WINDOW_P (XWINDOW (val))) if (! MINI_WINDOW_P (XWINDOW (val)))
error ("Surrogate minibuffer windows must be minibuffer windows."); error ("Surrogate minibuffer windows must be minibuffer windows");
if ((FRAME_HAS_MINIBUF_P (f) || FRAME_MINIBUF_ONLY_P (f)) if ((FRAME_HAS_MINIBUF_P (f) || FRAME_MINIBUF_ONLY_P (f))
&& !EQ (val, f->minibuffer_window)) && !EQ (val, f->minibuffer_window))
......
...@@ -3028,7 +3028,7 @@ usage: (make-network-process &rest ARGS) */) ...@@ -3028,7 +3028,7 @@ usage: (make-network-process &rest ARGS) */)
{ {
int optval = 1; int optval = 1;
if (setsockopt (s, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof optval)) if (setsockopt (s, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof optval))
report_file_error ("Cannot set reuse option on server socket.", Qnil); report_file_error ("Cannot set reuse option on server socket", Qnil);
} }
if (bind (s, lres->ai_addr, lres->ai_addrlen)) if (bind (s, lres->ai_addr, lres->ai_addrlen))
......
...@@ -299,7 +299,7 @@ sel_read (sel, file) ...@@ -299,7 +299,7 @@ sel_read (sel, file)
error("fread botch in sel_read"); error("fread botch in sel_read");
return(-1); return(-1);
} else if (n < 0) { } else if (n < 0) {
error("Error reading selection."); error("Error reading selection");
return(-1); return(-1);
} }
/* /*
......
...@@ -247,7 +247,7 @@ w32_init_bdf_font(char *filename) ...@@ -247,7 +247,7 @@ w32_init_bdf_font(char *filename)
hbdf_bmp_heap = HeapCreate(0, BDF_BITMAP_HEAP_INITIAL_SIZE, 0); hbdf_bmp_heap = HeapCreate(0, BDF_BITMAP_HEAP_INITIAL_SIZE, 0);
if (!hbdf_cp_heap || !hbdf_bmp_heap) if (!hbdf_cp_heap || !hbdf_bmp_heap)
error("Fail to create heap for BDF."); error("Fail to create heap for BDF");
hfile = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ, NULL, hfile = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
...@@ -257,13 +257,13 @@ w32_init_bdf_font(char *filename) ...@@ -257,13 +257,13 @@ w32_init_bdf_font(char *filename)
(fileinfo.nFileSizeLow > BDF_FILE_SIZE_MAX)) (fileinfo.nFileSizeLow > BDF_FILE_SIZE_MAX))
{ {
CloseHandle(hfile); CloseHandle(hfile);
error("Fail to open BDF file."); error("Fail to open BDF file");
} }
hfilemap = CreateFileMapping(hfile, NULL, PAGE_READONLY, 0, 0, NULL); hfilemap = CreateFileMapping(hfile, NULL, PAGE_READONLY, 0, 0, NULL);
if (hfilemap == INVALID_HANDLE_VALUE) if (hfilemap == INVALID_HANDLE_VALUE)
{ {
CloseHandle(hfile); CloseHandle(hfile);
error("Can't map font."); error("Can't map font");
} }
font = MapViewOfFile(hfilemap, FILE_MAP_READ, 0, 0, 0); font = MapViewOfFile(hfilemap, FILE_MAP_READ, 0, 0, 0);
...@@ -272,7 +272,7 @@ w32_init_bdf_font(char *filename) ...@@ -272,7 +272,7 @@ w32_init_bdf_font(char *filename)
{ {
CloseHandle(hfile); CloseHandle(hfile);
CloseHandle(hfilemap); CloseHandle(hfilemap);
error("Can't view font."); error("Can't view font");
} }
bdffontp = (bdffont *) xmalloc(sizeof(bdffont)); bdffontp = (bdffont *) xmalloc(sizeof(bdffont));
......
...@@ -9679,7 +9679,7 @@ static void XPutPixel (ximg, x, y, color) ...@@ -9679,7 +9679,7 @@ static void XPutPixel (ximg, x, y, color)
*pixel = *pixel & ~(1 << x % 8); *pixel = *pixel & ~(1 << x % 8);
} }
else else
image_error ("XPutPixel: palette image not supported.", Qnil, Qnil); image_error ("XPutPixel: palette image not supported", Qnil, Qnil);
} }
/* Create IMG->pixmap from an array COLORS of XColor structures, whose /* Create IMG->pixmap from an array COLORS of XColor structures, whose
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment