X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cde%2Fprograms%2Fdtfile%2FChangeDirP.c;h=cbe885e222622454eb64b5553b809acfe8adff7e;hb=671530082004aa880b3a0bfb7108bc30c6d97fab;hp=b24b30416f447617b8307a4c6b725af4128ba66c;hpb=c884521619ded86baea5e0a74c8d0d2234c232fe;p=oweals%2Fcde.git diff --git a/cde/programs/dtfile/ChangeDirP.c b/cde/programs/dtfile/ChangeDirP.c index b24b3041..cbe885e2 100644 --- a/cde/programs/dtfile/ChangeDirP.c +++ b/cde/programs/dtfile/ChangeDirP.c @@ -16,7 +16,7 @@ * details. * * You should have received a copy of the GNU Lesser General Public - * License along with these librararies and programs; if not, write + * License along with these libraries and programs; if not, write * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth * Floor, Boston, MA 02110-1301 USA */ @@ -61,9 +61,11 @@ #include #include #include +#include #include #include #include +#include #include
#include
#include
@@ -302,7 +304,7 @@ ShowChangeDirDialog( if (w) { - if((int)client_data == FM_POPUP) + if((XtArgVal)client_data == FM_POPUP) mbar = XtParent(w); else mbar = (Widget) XmGetPostedFromWidget(XtParent(w)); @@ -602,7 +604,7 @@ CurrentDirDropCallback( /************************************************************************ * * CurrentDirIconCallback - * Callback function invoked upon an action occuring on an icon. + * Callback function invoked upon an action occurring on an icon. * ************************************************************************/ @@ -790,7 +792,7 @@ GetStatusMsg( file_mgr_data->busy_status == busy_readdir) { if (file_mgr_data->busy_detail == 0) - sprintf (buf, (GETMESSAGE(3,5, "Reading ..."))); + sprintf (buf, "%s", (GETMESSAGE(3,5, "Reading ..."))); else if (file_mgr_data->busy_detail == 1) sprintf (buf, (GETMESSAGE(3,11, "%d Item(s)...")), file_mgr_data->busy_detail);