texlive[48206] Build/source/texk/web2c/synctexdir/synctex.c: previous

commits+kakuto at tug.org commits+kakuto at tug.org
Sun Jul 15 09:06:06 CEST 2018


Revision: 48206
          http://tug.org/svn/texlive?view=revision&revision=48206
Author:   kakuto
Date:     2018-07-15 09:06:05 +0200 (Sun, 15 Jul 2018)
Log Message:
-----------
previous fix was incomplete

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/synctexdir/synctex.c

Modified: trunk/Build/source/texk/web2c/synctexdir/synctex.c
===================================================================
--- trunk/Build/source/texk/web2c/synctexdir/synctex.c	2018-07-15 00:23:49 UTC (rev 48205)
+++ trunk/Build/source/texk/web2c/synctexdir/synctex.c	2018-07-15 07:06:05 UTC (rev 48206)
@@ -671,7 +671,8 @@
             if (SYNCTEX_FILE) {
                 if (SYNCTEX_NO_ERROR == synctex_record_preamble()) {
                     /*  Initialization of the context */
-                    synctex_ctxt.magnification = 1000;
+                    if (synctex_ctxt.magnification == 0)
+                        synctex_ctxt.magnification = 1000;
                     synctex_ctxt.unit = SYNCTEX_UNIT_FACTOR;
                     /*  synctex_ctxt.busy_name was NULL before, it now owns the_busy_name */
                     synctex_ctxt.busy_name = the_busy_name;



More information about the tex-live-commits mailing list