summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2003-11-16 16:17:09 +0000
committerJan Djärv <jan.h.d@swipnet.se>2003-11-16 16:17:09 +0000
commit7c402969951c97a2d878c16f7f4c18152258e1f9 (patch)
tree9b1ca15b91b342b82573cd9ecebe7c7def57cc56
parent57669b57fca39a20c2bdf20a32bff6ab2e999f00 (diff)
downloademacs-7c402969951c97a2d878c16f7f4c18152258e1f9.tar.gz
Remove period at end of error message.
-rw-r--r--src/ChangeLog9
-rw-r--r--src/ccl.c2
-rw-r--r--src/emacs.c2
-rw-r--r--src/fontset.c2
-rw-r--r--src/frame.c2
-rw-r--r--src/process.c2
-rw-r--r--src/sunfns.c2
-rw-r--r--src/w32bdf.c8
-rw-r--r--src/w32fns.c2
9 files changed, 20 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6960b655801..f8b41d541cd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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)
diff --git a/src/ccl.c b/src/ccl.c
index ae42f2419c2..81e90319e52 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -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);
diff --git a/src/emacs.c b/src/emacs.c
index 62f16877184..0b2e678329c 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -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
diff --git a/src/fontset.c b/src/fontset.c
index 990c1bbb9fa..e462387beae 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -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");
diff --git a/src/frame.c b/src/frame.c
index 3a3758b93e0..934c11d98bc 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -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))
diff --git a/src/process.c b/src/process.c
index d04f8c03b4f..ed0d5fe765b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -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))
diff --git a/src/sunfns.c b/src/sunfns.c
index d1c7bcd0c64..13fdfd3a1b7 100644
--- a/src/sunfns.c
+++ b/src/sunfns.c
@@ -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);
}
/*
diff --git a/src/w32bdf.c b/src/w32bdf.c
index 567030a23e8..04739b8e846 100644
--- a/src/w32bdf.c
+++ b/src/w32bdf.c
@@ -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));
diff --git a/src/w32fns.c b/src/w32fns.c
index 9a45741c35b..d8572265bef 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -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