diff options
| author | Ken Raeburn | 2002-07-15 00:01:34 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-07-15 00:01:34 +0000 |
| commit | d5db40779d7505244d37476b4f046641f07eea2b (patch) | |
| tree | 5c8bf4dad41639287e722cb7cbdc0709e47a9e53 /src/msdos.c | |
| parent | 491c2516d32fa8b9ba9422ec142c8925dd82af00 (diff) | |
| download | emacs-d5db40779d7505244d37476b4f046641f07eea2b.tar.gz emacs-d5db40779d7505244d37476b4f046641f07eea2b.zip | |
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
Diffstat (limited to 'src/msdos.c')
| -rw-r--r-- | src/msdos.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/msdos.c b/src/msdos.c index 5f261937008..b3cf0e9f345 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -1454,9 +1454,9 @@ IT_note_mode_line_highlight (struct window *w, int x, int mode_line_p) | |||
| 1454 | end = glyph + row->used[TEXT_AREA]; | 1454 | end = glyph + row->used[TEXT_AREA]; |
| 1455 | if (glyph < end | 1455 | if (glyph < end |
| 1456 | && STRINGP (glyph->object) | 1456 | && STRINGP (glyph->object) |
| 1457 | && XSTRING (glyph->object)->intervals | 1457 | && STRING_INTERVALS (glyph->object) |
| 1458 | && glyph->charpos >= 0 | 1458 | && glyph->charpos >= 0 |
| 1459 | && glyph->charpos < XSTRING (glyph->object)->size) | 1459 | && glyph->charpos < SCHARS (glyph->object)) |
| 1460 | { | 1460 | { |
| 1461 | /* If we're on a string with `help-echo' text property, | 1461 | /* If we're on a string with `help-echo' text property, |
| 1462 | arrange for the help to be displayed. This is done by | 1462 | arrange for the help to be displayed. This is done by |
| @@ -1738,7 +1738,7 @@ IT_note_mouse_highlight (struct frame *f, int x, int y) | |||
| 1738 | else if (NILP (help) | 1738 | else if (NILP (help) |
| 1739 | && ((STRINGP (glyph->object) | 1739 | && ((STRINGP (glyph->object) |
| 1740 | && glyph->charpos >= 0 | 1740 | && glyph->charpos >= 0 |
| 1741 | && glyph->charpos < XSTRING (glyph->object)->size) | 1741 | && glyph->charpos < SCHARS (glyph->object)) |
| 1742 | || (BUFFERP (glyph->object) | 1742 | || (BUFFERP (glyph->object) |
| 1743 | && glyph->charpos >= BEGV | 1743 | && glyph->charpos >= BEGV |
| 1744 | && glyph->charpos < ZV))) | 1744 | && glyph->charpos < ZV))) |
| @@ -2454,7 +2454,7 @@ IT_set_frame_parameters (f, alist) | |||
| 2454 | { | 2454 | { |
| 2455 | x_set_title (f, val); | 2455 | x_set_title (f, val); |
| 2456 | if (termscript) | 2456 | if (termscript) |
| 2457 | fprintf (termscript, "<TITLE: %s>\n", XSTRING (val)->data); | 2457 | fprintf (termscript, "<TITLE: %s>\n", SDATA (val)); |
| 2458 | } | 2458 | } |
| 2459 | else if (EQ (prop, Qcursor_type)) | 2459 | else if (EQ (prop, Qcursor_type)) |
| 2460 | { | 2460 | { |
| @@ -4405,7 +4405,7 @@ The argument object is never altered--the value is a copy. */) | |||
| 4405 | return Qnil; | 4405 | return Qnil; |
| 4406 | 4406 | ||
| 4407 | tem = Fcopy_sequence (filename); | 4407 | tem = Fcopy_sequence (filename); |
| 4408 | msdos_downcase_filename (XSTRING (tem)->data); | 4408 | msdos_downcase_filename (SDATA (tem)); |
| 4409 | return tem; | 4409 | return tem; |
| 4410 | } | 4410 | } |
| 4411 | 4411 | ||