mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 21:01:54 +00:00
remove trailing whitespace at end of lines
svn path=/trunk/; revision=15091
This commit is contained in:
parent
1c29a40c45
commit
456be5d16b
385 changed files with 5481 additions and 5481 deletions
|
@ -529,11 +529,11 @@ void DfSetScrollBars(DFWINDOW wnd)
|
|||
int oldattr = DfGetAttribute(wnd);
|
||||
if (wnd->wlines > DfClientHeight(wnd))
|
||||
DfAddAttribute(wnd, DF_VSCROLLBAR);
|
||||
else
|
||||
else
|
||||
DfClearAttribute(wnd, DF_VSCROLLBAR);
|
||||
if (wnd->textwidth > DfClientWidth(wnd))
|
||||
DfAddAttribute(wnd, DF_HSCROLLBAR);
|
||||
else
|
||||
else
|
||||
DfClearAttribute(wnd, DF_HSCROLLBAR);
|
||||
if (DfGetAttribute(wnd) != oldattr)
|
||||
DfSendMessage(wnd, DFM_BORDER, 0, 0);
|
||||
|
@ -643,15 +643,15 @@ static void FixColors(DFWINDOW wnd)
|
|||
{
|
||||
if (ct->class != DF_SPINBUTTON && ct->class != DF_COMBOBOX)
|
||||
{
|
||||
wnd->WindowColors[DF_FRAME_COLOR][DF_FG] =
|
||||
wnd->WindowColors[DF_FRAME_COLOR][DF_FG] =
|
||||
DfGetParent(wnd)->WindowColors[DF_FRAME_COLOR][DF_FG];
|
||||
wnd->WindowColors[DF_FRAME_COLOR][DF_BG] =
|
||||
wnd->WindowColors[DF_FRAME_COLOR][DF_BG] =
|
||||
DfGetParent(wnd)->WindowColors[DF_FRAME_COLOR][DF_BG];
|
||||
if (ct->class != DF_EDITBOX && ct->class != DF_LISTBOX)
|
||||
{
|
||||
wnd->WindowColors[DF_STD_COLOR][DF_FG] =
|
||||
wnd->WindowColors[DF_STD_COLOR][DF_FG] =
|
||||
DfGetParent(wnd)->WindowColors[DF_STD_COLOR][DF_FG];
|
||||
wnd->WindowColors[DF_STD_COLOR][DF_BG] =
|
||||
wnd->WindowColors[DF_STD_COLOR][DF_BG] =
|
||||
DfGetParent(wnd)->WindowColors[DF_STD_COLOR][DF_BG];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue