summaryrefslogtreecommitdiff
path: root/academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch')
-rw-r--r--academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch b/academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch
new file mode 100644
index 0000000000..f9e48f9d6b
--- /dev/null
+++ b/academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch
@@ -0,0 +1,12 @@
+--- src/Files.cpp.orig 2012-03-24 18:51:08.000000000 +0400
++++ src/Files.cpp 2012-03-24 18:51:54.000000000 +0400
+@@ -3892,7 +3892,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;