* 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
*/
int firstSelect = -1, lastSelect = -1;
Widget textField;
Arg args[5];
- register int n;
+ int n;
XmString dirString;
dirbuf[0] = (char) '\0';
strcpy(dirbuf, pPad->fileStuff.pathDir);
/* -----> make sure dir ends in '/' */
if (dirbuf[0] != (char )'\0') {
- if (dirbuf[strlen(dirbuf) - 1] != (char)'/')
- strcat(dirbuf, "/");
+ if (strlen(dirbuf) && dirbuf[strlen(dirbuf) - 1] != (char)'/')
+ strcat(dirbuf, "/");
} else {
getcwd(dirbuf, MAX_DIR_PATH_LEN - 16);
strcat(dirbuf, "/");
ToggleWidgets *pToggleWidgets)
{
Arg args[20];
- register int n;
+ int n;
XmString label_string;
/* -----> Create Radio Box */
CreateSaveAsDialog(Editor *pPad)
{
Arg args[20];
- register int n;
+ int n;
XmString label_string;
char buf[256];
SaveAs *pSaveAs = &pPad->fileStuff.fileWidgets.saveAs;
Editor *pPad )
{
Arg al[10]; /* arg list */
- register int ac; /* arg count */
+ int ac; /* arg count */
XmString tmpStr;
Select *pSelect = &pPad->fileStuff.fileWidgets.select;
Editor *pPad )
{
Arg al[10]; /* arg list */
- register int ac; /* arg count */
+ int ac; /* arg count */
char buf[256];
Widget w, kid[5];
Pixel foreground, background;
Editor *pPad)
{
Arg al[10]; /* arg list */
- register int ac; /* arg count */
+ int ac; /* arg count */
char *tmp = NULL;
XmString tmpStr;
Select *pSelect = &pPad->fileStuff.fileWidgets.select;