summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoi Cohen <roico@roico-desktop.(none)>2007-05-28 17:59:30 +0300
committerRoi Cohen <roico@roico-desktop.(none)>2007-05-28 17:59:30 +0300
commit81f0a3271cd1896ab6472681ff0f4ba8683fa1ea (patch)
treeb1a6aa9f9d53040550e2e4590e158b9095ed4548
parentb2ccb31da200188bf9f820bd1ce5966aaae7625e (diff)
downloadscreencasting-81f0a3271cd1896ab6472681ff0f4ba8683fa1ea.tar.gz
screencasting-81f0a3271cd1896ab6472681ff0f4ba8683fa1ea.tar.bz2
fix typo
-rw-r--r--plugin/rsc2raw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/rsc2raw.c b/plugin/rsc2raw.c
index 886eb71..a993f4e 100644
--- a/plugin/rsc2raw.c
+++ b/plugin/rsc2raw.c
@@ -93,9 +93,9 @@ void applyInputFrame(RawFrame* raw_frame, Frame* frame, u_int32_t width, u_int32
int first_y = ((height - 1) - (rect->y + rect->height - 1)) / 2; // Read comment in first loop.
int last_y = ((height - 1) - rect->y) / 2; // Read comment in first loop.
- for (x = first_x / 2; x <= last_x; x++)
+ for (x = first_x; x <= last_x; x++)
{
- for (y = first_y / 2; y <= last_y; y++)
+ for (y = first_y; y <= last_y; y++)
{
int pixel1 = 2 * y * width + 2 * x;
int pixel2 = 2 * y * width + 2 * (x + 1);