diff --git a/unix/vncserver b/unix/vncserver index 399e125..34a45ad 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -33,9 +33,8 @@ &ParseAndProcessCliOptions(); -&CheckGeometryAndDepth(); +&CheckGeometryAndDepthAreSensible(); -# Create the user's vnc directory if necessary. &CreateDotVncDir(); $displayNumber = &DetectDisplayNumberFromCliArgs() || @@ -148,11 +147,11 @@ sub LoadConfig { } # -# CheckGeometryAndDepth simply makes sure that the geometry and depth values -# are sensible. +# CheckGeometryAndDepthAreSensible simply makes sure that the geometry and depth +# values are sensible. # -sub CheckGeometryAndDepth +sub CheckGeometryAndDepthAreSensible { if ($geometry =~ /^(\d+)x(\d+)$/) { $width = $1; $height = $2;