From 60472dd7db5dc2b3be5686b7dd97c718fe4d6276 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Wed, 21 Oct 1998 13:19:23 +0000 Subject: [PATCH] Minor variable name tweak. --- cmd/xfe/XfeWidgets/Xfe/StringUtil.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/cmd/xfe/XfeWidgets/Xfe/StringUtil.c b/cmd/xfe/XfeWidgets/Xfe/StringUtil.c index 04e34689847c..fbc84335f7db 100644 --- a/cmd/xfe/XfeWidgets/Xfe/StringUtil.c +++ b/cmd/xfe/XfeWidgets/Xfe/StringUtil.c @@ -72,33 +72,33 @@ XfeFastAccessLabelString(Widget w) /* */ /*----------------------------------------------------------------------*/ /* extern */ XmString -XfeXmStringCopy(Widget w,XmString xm_string,String fallback) +XfeXmStringCopy(Widget w,XmString xmstr,String fallback) { - XmString new_xm_string; + XmString new_xmstr; /* Make sure the string is setup properly */ - if (!xm_string) + if (!xmstr) { /* If no xmstring is given, create using the fallback cstring */ - new_xm_string = XmStringCreateLocalized(fallback); + new_xmstr = XmStringCreateLocalized(fallback); } else { /* Otherwise make a carbon copy - no check done to verify xmstring */ - new_xm_string = XmStringCopy(xm_string); + new_xmstr = XmStringCopy(xmstr); } - return new_xm_string; + return new_xmstr; } /*----------------------------------------------------------------------*/ /* extern */ String -XfeXmStringGetPSZ(XmString xm_string,char * tag) +XfeXmStringGetPSZ(XmString xmstr,char * tag) { String psz_string = NULL; - if (xm_string) + if (xmstr) { - XmStringGetLtoR(xm_string,tag,&psz_string); + XmStringGetLtoR(xmstr,tag,&psz_string); } return psz_string; @@ -107,18 +107,18 @@ XfeXmStringGetPSZ(XmString xm_string,char * tag) /*extern*/ void XfeSetXmStringPSZ(Widget w,String name,char * tag,char * value) { - XmString xm_string; + XmString xmstr; assert( w != NULL ); assert( name != NULL ); - xm_string = XmStringCreateLtoR(value,tag); + xmstr = XmStringCreateLtoR(value,tag); - XfeSetValue(w,name,xm_string); + XfeSetValue(w,name,xmstr); - if (xm_string) + if (xmstr) { - XmStringFree(xm_string); + XmStringFree(xmstr); } } /*----------------------------------------------------------------------*/