git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@62
a2be9bc6-48de-4e38-9406-
05402d4bc13c
char *p, *pp;
Int len, i;
IntGroup *newsel;
- if (mview == NULL || mview->mol == NULL || mview->mol->par == NULL)
+ if (mview == NULL || mview->mol == NULL)
return -1;
+ if (mview->mol->par == NULL)
+ mview->mol->par = ParameterNew();
if (!MoleculeCallback_isDataInPasteboard(kParameterPasteboardType))
return 1;
if (MoleculeCallback_readFromPasteboard(kParameterPasteboardType, (void **)&p, &len) != 0)