tab -> space

svn path=/trunk/; revision=24794
This commit is contained in:
Ged Murphy 2006-11-19 22:36:37 +00:00
parent 1cae12f9ba
commit 0ecf7d35d0
2 changed files with 14 additions and 14 deletions

View file

@ -61,16 +61,16 @@ DisplayBlackAndWhite(HWND hwnd,
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 @@ DisplayInvertedColors(HWND hwnd,
&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;
}
}

View file

@ -447,7 +447,7 @@ FloatToolbarWndProc(HWND hwnd,
break;
case WM_CLOSE:
ShowHideWindow(FltInfo->hSelf);
ShowHideWindow(FltInfo->hSelf);
break;
case WM_COMMAND: