diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-30 14:17:44 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-30 14:17:44 -0800 |
commit | 42a5b22fc0201fe98ad8a093c3ab91122ab3a72b (patch) | |
tree | e9e37d432417ac382a36b9e6f26db38e59ca0585 /src/widget.c | |
parent | 3de84ad9c45382c181e3383d433442f4e19ba722 (diff) | |
download | emacs-42a5b22fc0201fe98ad8a093c3ab91122ab3a72b.tar.gz |
Use SSDATA when the context wants char *.
* alloc.c, buffer.c, bytecode.c, callproc.c, dired.c:
* dispnew.c, doc.c, editfns.c, emacs.c, fileio.c, filelock.c:
* fns.c, font.c, frame.c, image.c, indent.c, keyboard.c:
* lread.c, minibuf.c, print.c, process.c, search.c, widget.c:
* xdisp.c, xfaces.c, xfns.c, xml.c, xselect.c, xterm.c:
Use SSDATA (not SDATA) when the context of the expression wants
char * (not unsigned char *).
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c index a8c341359b4..3053ceaea13 100644 --- a/src/widget.c +++ b/src/widget.c @@ -560,7 +560,7 @@ setup_frame_gcs (EmacsFrame ew) if (STRINGP (font)) { XFontStruct *xfont = XLoadQueryFont (FRAME_X_DISPLAY_INFO (s)->display, - SDATA (font)); + SSDATA (font)); if (xfont) { gc_values.font = xfont->fid; @@ -840,4 +840,3 @@ widget_store_internal_border (Widget widget) ew->emacs_frame.internal_border_width = f->internal_border_width; } - |