Diff of /PTcommon.c [3af83f] .. [15dc8a] Maximize Restore

  Switch to side-by-side view

--- a/PTcommon.c
+++ b/PTcommon.c
@@ -946,7 +946,7 @@
             if (prefs->pano.width == 0) {
                 // if the pano did not set the width, then try to set it
                 if (prefs->im.hfov != 0.0) {
-                    prefs->pano.width = (pt_int32)(prefs->im.width * prefs->pano.hfov / prefs->im.hfov);
+                    prefs->pano.width = prefs->im.width * prefs->pano.hfov / prefs->im.hfov;
                     prefs->pano.width /= 10;    // Round to multiple of 10
                     prefs->pano.width *= 10;
                 }