wxmacmolplt-7.4.4-files.patch 892 B

1234567891011121314151617181920212223
  1. --- src/Files.cpp.orig 2012-12-30 22:55:10.000000000 +0400
  2. +++ src/Files.cpp 2013-01-20 22:10:48.000000000 +0400
  3. @@ -2420,7 +2420,8 @@
  4. // }
  5. std::vector<std::pair <std::string, int> > OptKeywords; //search tokens for optimizations
  6. OptKeywords.push_back(make_pair (std::string("BEGINNING GEOMETRY SEARCH POINT"), 0));
  7. - OptKeywords.push_back(make_pair (std::string("1NSERCH"), 1));
  8. + OptKeywords.push_back(make_pair (std::string("1NSERCH"), 1));
  9. + OptKeywords.push_back(make_pair (std::string("COORDINATES OF ALL ATOMS ARE (ANGS)"), 2));
  10. if (Append) {
  11. Buffer->LocateKeyWord("RUN TITLE", 9); //find and skip over run title since
  12. @@ -3921,7 +3921,9 @@
  13. sscanf(&(LineText[6]), "%d", &temp);
  14. SetDiag(temp);
  15. }
  16. + Buffer->SetFilePos(EndPos);
  17. }
  18. +
  19. long MolDisplayWin::OpenGAMESSTRJ(BufferFile * Buffer, bool Append, long flip, float offset)
  20. {
  21. TypeOfRun runType=InvalidRunType;