- move SuperFastHash to its own set of files, instead of having this tied to the console.
- replace swapvalues with std::swap globally. - added some additions to utility code from Raze, mainly to reduce file content differences. - reduced some unused utilities
This commit is contained in:
parent
003294e598
commit
b0ecb02d6b
40 changed files with 327 additions and 268 deletions
|
|
@ -439,7 +439,7 @@ static void DoPrintStr(const char *cpt, HWND edit, HANDLE StdOut)
|
|||
if (edit != NULL)
|
||||
{
|
||||
// GDI uses BGR colors, but color is RGB, so swap the R and the B.
|
||||
swapvalues(color.r, color.b);
|
||||
std::swap(color.r, color.b);
|
||||
// Change the color.
|
||||
format.cbSize = sizeof(format);
|
||||
format.dwMask = CFM_COLOR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue