Remove period at end of error message.

This commit is contained in:
Jan Djärv 2003-11-16 16:17:09 +00:00
parent 57669b57fc
commit 7c40296995
9 changed files with 20 additions and 11 deletions

View file

@ -1,5 +1,14 @@
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.
* xfns.c (x_window_to_frame, x_any_window_to_frame)

View file

@ -1872,7 +1872,7 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
break;
default:
sprintf(msg, "\nCCL: Unknown error type (%d).", ccl->status);
sprintf(msg, "\nCCL: Unknown error type (%d)", ccl->status);
}
msglen = strlen (msg);

View file

@ -1994,7 +1994,7 @@ shut_down_emacs (sig, no_x, stuff)
fflush (stdout);
reset_sys_modes ();
if (sig && sig != SIGTERM)
fprintf (stderr, "Fatal error (%d).", sig);
fprintf (stderr, "Fatal error (%d)", sig);
}
}
#else

View file

@ -1012,7 +1012,7 @@ name of a font, REGISTRY is a registry name of a font. */)
from = XINT (XCAR (character));
to = XINT (XCDR (character));
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)
&& (SINGLE_BYTE_CHAR_P (from) || SINGLE_BYTE_CHAR_P (to)))
error ("Can't change font for a single byte character");

View file

@ -2018,7 +2018,7 @@ store_frame_param (f, prop, val)
if (EQ (prop, Qminibuffer) && WINDOWP (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))
&& !EQ (val, f->minibuffer_window))

View file

@ -3028,7 +3028,7 @@ usage: (make-network-process &rest ARGS) */)
{
int optval = 1;
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))

View file

@ -299,7 +299,7 @@ sel_read (sel, file)
error("fread botch in sel_read");
return(-1);
} else if (n < 0) {
error("Error reading selection.");
error("Error reading selection");
return(-1);
}
/*

View file

@ -247,7 +247,7 @@ w32_init_bdf_font(char *filename)
hbdf_bmp_heap = HeapCreate(0, BDF_BITMAP_HEAP_INITIAL_SIZE, 0);
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,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
@ -257,13 +257,13 @@ w32_init_bdf_font(char *filename)
(fileinfo.nFileSizeLow > BDF_FILE_SIZE_MAX))
{
CloseHandle(hfile);
error("Fail to open BDF file.");
error("Fail to open BDF file");
}
hfilemap = CreateFileMapping(hfile, NULL, PAGE_READONLY, 0, 0, NULL);
if (hfilemap == INVALID_HANDLE_VALUE)
{
CloseHandle(hfile);
error("Can't map font.");
error("Can't map font");
}
font = MapViewOfFile(hfilemap, FILE_MAP_READ, 0, 0, 0);
@ -272,7 +272,7 @@ w32_init_bdf_font(char *filename)
{
CloseHandle(hfile);
CloseHandle(hfilemap);
error("Can't view font.");
error("Can't view font");
}
bdffontp = (bdffont *) xmalloc(sizeof(bdffont));

View file

@ -9679,7 +9679,7 @@ static void XPutPixel (ximg, x, y, color)
*pixel = *pixel & ~(1 << x % 8);
}
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