--- a/camerauis/cameraapp/generic/src/camlinevfgriddrawer.cpp Thu Jan 07 16:18:56 2010 +0200
+++ b/camerauis/cameraapp/generic/src/camlinevfgriddrawer.cpp Mon Jan 18 20:06:55 2010 +0200
@@ -289,7 +289,7 @@
while( j < aVerticalLines )
{
// Max used to make sure no div-by-zero
- TInt currentX = ((j+indexOffset)*width) / Max(1,aVerticalLines+countOffset) - KPenWidth/2;
+ TInt currentX = leftX + ((j+indexOffset)*width) / Max(1,aVerticalLines+countOffset) - KPenWidth/2;
iLineArray.Append( TRect( currentX, topY, currentX, bottomY ) );
j++;
}