Skip to content

Commit

Permalink
update to 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Soul Dark committed Aug 14, 2018
1 parent 51fa83e commit 3035280
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions NetSpeed/NetSpeed/Dialog/Dialog_Setting/Dialog_Setting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ INT_PTR Dialog_Setting::Process(HWND Handle_Dialog, UINT Message_Dialog, WPARAM
case ID_Button_CleanAndExit:
{
Registry::Clean();
Destroy();
DestroyWindow(Handle_Dialog);
Dialog_Main::Destroy();
Dialog_Setting::Destroy();
break;
}
case ID_Button_TextColor:
Expand Down
4 changes: 2 additions & 2 deletions NetSpeed/NetSpeed/Registry/Registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ COLORREF Registry::ColorBackground_Get() {
LSTATUS Status_ColorBackground = Registry::Value_Get(Path_NetSpeed_, Value_ColorBackground_, RRF_RT_REG_DWORD, &ColorBackground);
if (Status_ColorBackground != ERROR_SUCCESS) {
ColorBackground = RGB(0, 0, 0);
Registry::Transparency_Set(ColorBackground);
Registry::ColorBackground_Set(ColorBackground);
}
return ColorBackground;
}
Expand Down Expand Up @@ -78,7 +78,7 @@ COLORREF Registry::ColorText_Get() {
LSTATUS Status_ColorText = Registry::Value_Get(Path_NetSpeed_, Value_ColorText_, RRF_RT_REG_DWORD, &ColorText);
if (Status_ColorText != ERROR_SUCCESS) {
ColorText = RGB(255, 255, 255);
Registry::Transparency_Set(ColorText);
Registry::ColorText_Set(ColorText);
}
return ColorText;
}
Expand Down

0 comments on commit 3035280

Please sign in to comment.