* 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
*/
if (w)
{
- if((int)client_data == FM_POPUP)
+ if((XtArgVal)client_data == FM_POPUP)
mbar = XtParent(w);
else
mbar = (Widget) XmGetPostedFromWidget(XtParent(w));
/************************************************************************
*
* CurrentDirIconCallback
- * Callback function invoked upon an action occuring on an icon.
+ * Callback function invoked upon an action occurring on an icon.
*
************************************************************************/
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);