Author: gedmurphy Date: Mon Nov 20 01:36:37 2006 New Revision: 24794
URL: http://svn.reactos.org/svn/reactos?rev=24794&view=rev Log: tab -> space
Modified: trunk/reactos/base/applications/imagesoft/adjust.c trunk/reactos/base/applications/imagesoft/floatwindow.c
Modified: trunk/reactos/base/applications/imagesoft/adjust.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/imagesoft... ============================================================================== --- trunk/reactos/base/applications/imagesoft/adjust.c (original) +++ trunk/reactos/base/applications/imagesoft/adjust.c Mon Nov 20 01:36:37 2006 @@ -61,16 +61,16 @@ g = GetGValue(Val); r = GetBValue(Val);
- // get the average color value - Val = (r+g+b)/3; + // get the average color value + Val = (r+g+b)/3;
- // assign to RGB color - Val = RGB(Val, Val, Val); - CopyMemory(&pBits[Count], + // assign to RGB color + Val = RGB(Val, Val, Val); + CopyMemory(&pBits[Count], &Val, 4);
- Count+=4; + Count+=4; } }
@@ -153,17 +153,17 @@ &pBits[Count], 4);
- b = 255 - GetRValue(Val); - g = 255 - GetGValue(Val); - r = 255 - GetBValue(Val); - - Val = RGB(b, g, r); + b = 255 - GetRValue(Val); + g = 255 - GetGValue(Val); + r = 255 - GetBValue(Val); + + Val = RGB(b, g, r);
- CopyMemory(&pBits[Count], + CopyMemory(&pBits[Count], &Val, 4);
- Count+=4; + Count+=4; } }
Modified: trunk/reactos/base/applications/imagesoft/floatwindow.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/imagesoft... ============================================================================== --- trunk/reactos/base/applications/imagesoft/floatwindow.c (original) +++ trunk/reactos/base/applications/imagesoft/floatwindow.c Mon Nov 20 01:36:37 2006 @@ -447,7 +447,7 @@ break;
case WM_CLOSE: - ShowHideWindow(FltInfo->hSelf); + ShowHideWindow(FltInfo->hSelf); break;
case WM_COMMAND: