Molecular Modeling Software
リビジョン | 84bf50f0180968655527a85a7e40b70ca0249438 (tree) |
---|---|
日時 | 2014-03-26 11:33:45 |
作者 | toshinagata1964 <toshinagata1964@a2be...> |
コミッター | toshinagata1964 |
Undo action for the 'create_bond' action was incorrect, causing crash.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@511 a2be9bc6-48de-4e38-9406-05402d4bc13c
@@ -872,7 +872,7 @@ s_MolActionAddStructuralElements(Molecule *mol, MolAction *action, MolAction **a | ||
872 | 872 | if (mol->ndihedrals > nd) { |
873 | 873 | MolActionCallback_registerUndo(mol, *actp); |
874 | 874 | MolActionRelease(*actp); |
875 | - ig2 = IntGroupNewWithPoints(na, mol->ndihedrals - nd, -1); | |
875 | + ig2 = IntGroupNewWithPoints(nd, mol->ndihedrals - nd, -1); | |
876 | 876 | *actp = MolActionNew(gMolActionDeleteDihedrals, ig2); |
877 | 877 | IntGroupRelease(ig2); |
878 | 878 | } |