? abi/dynamiczoom_by_others.patch
? abi/src/WIN32_1.1.2s_i386_DBG
? abi/src/WIN32_x_i386_DBG
? abi/src/wp/ap/xp/ap_wp_splash.cpp
? abi/src/wp/ap/xp/ap_wp_sidebar.cpp
Index: abi/src/text/fmt/xp/fv_View.cpp
===================================================================
RCS file: /cvsroot/abi/src/text/fmt/xp/fv_View.cpp,v
retrieving revision 1.318
diff -u -r1.318 fv_View.cpp
--- abi/src/text/fmt/xp/fv_View.cpp	2000/11/18 13:23:09	1.318
+++ abi/src/text/fmt/xp/fv_View.cpp	2000/11/18 21:19:27
@@ -6548,6 +6548,7 @@
 
 	double scale = (double)(getWindowWidth() - 2 * fl_PAGEVIEW_MARGIN_X) / 
 											(pageWidth * (double)resolution);
+	if (getWindowWidth()<=0) return (UT_uint32)temp_zoom;
 	return (UT_uint32)(scale * 100.0);
 }
 
@@ -6570,10 +6571,12 @@
 											(pageHeight * (double)resolution);
 	if(scaleWidth < scaleHeight)
 	{
+		if(getWindowWidth()<=0) return (UT_uint32)temp_zoom;
 		return (UT_uint32)(scaleWidth * 100.0);
 	}
 	else
 	{
+		if(getWindowHeight()<=0) return (UT_uint32)temp_zoom;
 		return(UT_uint32)(scaleHeight * 100.0);
 	}
 }
