* 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
*/
** This file contains the routines that control the client/server architecture
** of dtpad and creation of the top level widgets.
**
-** See the comments preceeding main() for a description of the client/server
+** See the comments preceding main() for a description of the client/server
** architecture of dtpad as well as an overview of the routine hierarchy of
** dtpad. The widget hierarchy of dtpad goes something like this:
**
} else {
-#ifdef __osf__
-/* Temporary work around for action database problem(platinum BL5 03/29/95). */
- StartDbUpdate((XtPointer) NULL);
-#endif
-
/*--------------------------------------------------------
* Requestor Mode
*
initialServerResources = pPad->xrdb;
initialServerResources.server = False; /* so window will be mapped */
initialServerGeometry = pPad->geometry;
+ if(pPad->xrdb.workspaceList)
+ pPad->xrdb.workspaceList = strdup(pPad->xrdb.workspaceList);
+ if(pPad->xrdb.session)
+ pPad->xrdb.session = strdup(pPad->xrdb.session);
+ pPad->geometry = strdup(pPad->geometry);
}
/* Set some initial Editor instance values */
XtFree(pPad->geometry );
pPad->xrdb = initialServerResources;
- pPad->geometry = initialServerGeometry;
/* -----> duplicate resource strings */
if (initialServerResources.workspaceList != (char *)NULL)
template = (GETMESSAGE(7,10, message_string2));
- fprintf (stderr, template);
+ fprintf (stderr, "%s", template);
exit (0);
}
_DtSimpleError("dtpad", DtWarning, NULL, msg, NULL);
/*
- * if the error occured on the print display we're going to set
+ * if the error occurred on the print display we're going to set
* a variable so that and when the job is done, right before calling
* XpEndJob, we call XpCancelJob, and notify the user.
*/