Changed to use correct default scale.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1047 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2004-05-04 10:06:21 +00:00
parent dd4f11c9ed
commit 846c092700
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ if ( !$result )
$monitor = mysql_fetch_assoc( $result );
if ( !isset($scale) )
$scale = SCALE_SCALE;
$scale = ZM_WEB_DEFAULT_SCALE;
$width_scale = ($scale<SCALE_SCALE)?SCALE_SCALE:$scale;
$height_scale = $scale;

View File

@ -38,7 +38,7 @@ if ( !$result )
$monitor = mysql_fetch_assoc( $result );
if ( !isset( $scale ) )
$scale = SCALE_SCALE;
$scale = ZM_WEB_DEFAULT_SCALE;
?>
<html>