Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'windirstat/layout.cpp')
-rw-r--r--windirstat/layout.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/windirstat/layout.cpp b/windirstat/layout.cpp
index bbdd7ce..c3310a6 100644
--- a/windirstat/layout.cpp
+++ b/windirstat/layout.cpp
@@ -2,7 +2,7 @@
//
// WinDirStat - Directory Statistics
// Copyright (C) 2003-2005 Bernhard Seifert
-// Copyright (C) 2004-2017 WinDirStat Team (windirstat.net)
+// Copyright (C) 2004-2019 WinDirStat Team (windirstat.net)
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -43,13 +43,7 @@ CLayout::CLayout(CWnd *dialog, LPCTSTR name)
int CLayout::AddControl(CWnd *control, double movex, double movey, double stretchx, double stretchy)
{
- SControlInfo info;
-
- info.control = control;
- info.movex = movex;
- info.movey = movey;
- info.stretchx = stretchx;
- info.stretchy = stretchy;
+ SControlInfo info(control, movex, movey, stretchx, stretchy);
return int(m_control.Add(info));
}