diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-16 13:07:17 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-16 13:07:17 -0700 |
commit | 91a3e27bb7ee79474b8b470b3b8d755f92e5721f (patch) | |
tree | c970bc82b26b0de234c6b60be7db7f95e17199b9 /src/xfns.c | |
parent | 7a3fb1252cb12c742b395fd53a6ce6a9e473704f (diff) | |
download | emacs-91a3e27bb7ee79474b8b470b3b8d755f92e5721f.tar.gz |
* xfns.c (Fx_file_dialog): Rename local to avoid shadowing.
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xfns.c b/src/xfns.c index 846ba16d1ba..51aca3e9670 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -5462,12 +5462,12 @@ Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */) /* Get the result. */ if (result == XmCR_OK) { - XmString text; + XmString text_string; String data; - XtVaGetValues (dialog, XmNtextString, &text, NULL); - XmStringGetLtoR (text, XmFONTLIST_DEFAULT_TAG, &data); - XmStringFree (text); + XtVaGetValues (dialog, XmNtextString, &text_string, NULL); + XmStringGetLtoR (text_string, XmFONTLIST_DEFAULT_TAG, &data); + XmStringFree (text_string); file = build_string (data); XtFree (data); } |