diff options
Diffstat (limited to 'academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch')
-rw-r--r-- | academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch b/academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch new file mode 100644 index 0000000000..e02e4ae7e6 --- /dev/null +++ b/academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch @@ -0,0 +1,22 @@ +--- src/Files.cpp.orig 2012-12-30 22:55:10.000000000 +0400 ++++ src/Files.cpp 2013-01-20 22:10:48.000000000 +0400 +@@ -2420,7 +2420,8 @@ + // } + std::vector<std::pair <std::string, int> > OptKeywords; //search tokens for optimizations + OptKeywords.push_back(make_pair (std::string("BEGINNING GEOMETRY SEARCH POINT"), 0)); +- OptKeywords.push_back(make_pair (std::string("1NSERCH"), 1)); ++ OptKeywords.push_back(make_pair (std::string("1NSERCH"), 1)); ++ OptKeywords.push_back(make_pair (std::string("COORDINATES OF ALL ATOMS ARE (ANGS)"), 2)); + + if (Append) { + Buffer->LocateKeyWord("RUN TITLE", 9); //find and skip over run title since +@@ -3921,7 +3921,9 @@ + sscanf(&(LineText[6]), "%d", &temp); + SetDiag(temp); + } ++ Buffer->SetFilePos(EndPos); + } ++ + long MolDisplayWin::OpenGAMESSTRJ(BufferFile * Buffer, bool Append, long flip, float offset) + { + TypeOfRun runType=InvalidRunType; |