• R/O
  • HTTP
  • SSH
  • HTTPS

Molby: コミット

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

変更サマリ

差分

--- a/MolLib/MolAction.c
+++ b/MolLib/MolAction.c
@@ -872,7 +872,7 @@ s_MolActionAddStructuralElements(Molecule *mol, MolAction *action, MolAction **a
872872 if (mol->ndihedrals > nd) {
873873 MolActionCallback_registerUndo(mol, *actp);
874874 MolActionRelease(*actp);
875- ig2 = IntGroupNewWithPoints(na, mol->ndihedrals - nd, -1);
875+ ig2 = IntGroupNewWithPoints(nd, mol->ndihedrals - nd, -1);
876876 *actp = MolActionNew(gMolActionDeleteDihedrals, ig2);
877877 IntGroupRelease(ig2);
878878 }
旧リポジトリブラウザで表示