aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2012-10-19 21:59:42 +0900
committerKenichi Handa2012-10-19 21:59:42 +0900
commita0d7415fb62cf17e1465ee19cffb3ae6e20390b3 (patch)
treec4fb400eed4b0db6f47a2a48e1a576bf2417a2b5 /src
parentc052c554b44b809e672370e498dd3957494126d8 (diff)
downloademacs-a0d7415fb62cf17e1465ee19cffb3ae6e20390b3.tar.gz
emacs-a0d7415fb62cf17e1465ee19cffb3ae6e20390b3.zip
font.c (Ffont_at): Fix previous change.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/coding.c2
-rw-r--r--src/font.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cef1edff87d..a7f12bc37ad 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-10-19 Kenichi Handa <handa@gnu.org>
2
3 * font.c (Ffont_at): Fix previous change.
4
12012-10-19 Eli Zaretskii <eliz@gnu.org> 52012-10-19 Eli Zaretskii <eliz@gnu.org>
2 6
3 * puresize.h (BASE_PURESIZE): Bump the base value to 1700000. See 7 * puresize.h (BASE_PURESIZE): Bump the base value to 1700000. See
diff --git a/src/coding.c b/src/coding.c
index 412d7245223..7628a9fbf2e 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -415,7 +415,7 @@ enum iso_code_class_type
415 ISO_shift_out, /* ISO_CODE_SO (0x0E) */ 415 ISO_shift_out, /* ISO_CODE_SO (0x0E) */
416 ISO_shift_in, /* ISO_CODE_SI (0x0F) */ 416 ISO_shift_in, /* ISO_CODE_SI (0x0F) */
417 ISO_single_shift_2_7, /* ISO_CODE_SS2_7 (0x19) */ 417 ISO_single_shift_2_7, /* ISO_CODE_SS2_7 (0x19) */
418 ISO_escape, /* ISO_CODE_SO (0x1B) */ 418 ISO_escape, /* ISO_CODE_ESC (0x1B) */
419 ISO_control_1, /* Control codes in the range 419 ISO_control_1, /* Control codes in the range
420 0x80..0x9F, except for the 420 0x80..0x9F, except for the
421 following 3 codes. */ 421 following 3 codes. */
diff --git a/src/font.c b/src/font.c
index 629e8bb977a..7cb4149ac4e 100644
--- a/src/font.c
+++ b/src/font.c
@@ -4775,7 +4775,7 @@ the current buffer. It defaults to the currently selected window. */)
4775 { 4775 {
4776 CHECK_NUMBER (position); 4776 CHECK_NUMBER (position);
4777 CHECK_STRING (string); 4777 CHECK_STRING (string);
4778 if (! (0 < XINT (position) && XINT (position) < SCHARS (string))) 4778 if (! (0 <= XINT (position) && XINT (position) < SCHARS (string)))
4779 args_out_of_range (string, position); 4779 args_out_of_range (string, position);
4780 pos = XINT (position); 4780 pos = XINT (position);
4781 } 4781 }