Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: dll/cpl/access/access.c
- ===================================================================
- --- dll/cpl/access/access.c (revision 54086)
- +++ dll/cpl/access/access.c (working copy)
- @@ -76,7 +76,7 @@
- pGlobalData->uCaretBlinkTime = GetCaretBlinkTime();
- - /* get sound settings */
- + /* Get sound settings */
- pGlobalData->ssSoundSentry.cbSize = sizeof(SOUNDSENTRY);
- SystemParametersInfo(SPI_GETSOUNDSENTRY,
- sizeof(SOUNDSENTRY),
- Index: dll/cpl/access/access.h
- ===================================================================
- --- dll/cpl/access/access.h (revision 54086)
- +++ dll/cpl/access/access.h (working copy)
- @@ -21,7 +21,7 @@
- typedef struct _GLOBAL_DATA
- {
- - /* keyboard page */
- + /* Keyboard page */
- STICKYKEYS stickyKeys;
- STICKYKEYS oldStickyKeys;
- FILTERKEYS filterKeys;
- @@ -30,11 +30,11 @@
- TOGGLEKEYS oldToggleKeys;
- BOOL bKeyboardPref;
- - /* sound page */
- + /* Sound page */
- SOUNDSENTRY ssSoundSentry;
- BOOL bShowSounds;
- - /* display page */
- + /* Display page */
- HIGHCONTRAST highContrast;
- UINT uCaretBlinkTime;
- UINT uCaretWidth;
- @@ -42,10 +42,10 @@
- RECT rcCaret;
- RECT rcOldCaret;
- - /* mouse page */
- + /* Mouse page */
- MOUSEKEYS mouseKeys;
- - /* general page */
- + /* General page */
- ACCESSTIMEOUT accessTimeout;
- SERIALKEYS serialKeys;
- TCHAR szActivePort[MAX_PATH];
- Index: dll/cpl/appwiz/resource.h
- ===================================================================
- --- dll/cpl/appwiz/resource.h (revision 54086)
- +++ dll/cpl/appwiz/resource.h (working copy)
- @@ -1,11 +1,11 @@
- #pragma once
- -/* metrics */
- +/* Metrics */
- #define PROPSHEETWIDTH 380
- #define PROPSHEETHEIGHT 228
- #define PROPSHEETPADDING 6
- -/* icons */
- +/* Icons */
- #define IDI_CPLSYSTEM 1500
- #define IDI_APPICO 1501
- #define IDI_INSTICO 1502
- @@ -13,20 +13,20 @@
- #define IDI_DOWNLOADICO 1504
- #define IDI_APPINETICO 1505
- -/* dialogs */
- +/* Dialogs */
- #define IDD_SHORTCUT_LOCATION 203
- #define IDD_SHORTCUT_FINISH 204
- -/* bitmaps */
- +/* Bitmaps */
- #define IDB_WATERMARK 5001
- -/* strings */
- +/* Strings */
- #define IDS_CPLSYSTEMNAME 1001
- #define IDS_CPLSYSTEMDESCRIPTION 2001
- #define IDS_CREATE_SHORTCUT 2021
- #define IDS_ERROR_NOT_FOUND 2022
- -/* controls */
- +/* Controls */
- #define IDC_SHORTCUT_LOCATION 107
- #define IDC_SHORTCUT_BROWSE 108
- #define IDC_SHORTCUT_NAME 109
- Index: dll/cpl/console/colors.c
- ===================================================================
- --- dll/cpl/console/colors.c (revision 54086)
- +++ dll/cpl/console/colors.c (working copy)
- @@ -92,7 +92,7 @@
- }
- else
- {
- - /* options have already been applied */
- + /* Options have already been applied */
- SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_NOERROR);
- return TRUE;
- }
- @@ -201,7 +201,7 @@
- if (index == pConInfo->ActiveStaticControl)
- {
- - /* same static control was re-clicked */
- + /* Same static control was re-clicked */
- break;
- }
- @@ -209,7 +209,7 @@
- SetDlgItemInt(hwndDlg, IDC_EDIT_COLOR_GREEN, GetGValue(pConInfo->Colors[index]), FALSE);
- SetDlgItemInt(hwndDlg, IDC_EDIT_COLOR_BLUE, GetBValue(pConInfo->Colors[index]), FALSE);
- - /* update global struct */
- + /* Update global struct */
- if (IsDlgButtonChecked(hwndDlg, IDC_RADIO_SCREEN_TEXT))
- {
- pConInfo->ScreenText = pConInfo->Colors[index];
- @@ -235,8 +235,7 @@
- break;
- }
- }
- -
- -
- +
- default:
- break;
- }
- Index: dll/cpl/console/console.c
- ===================================================================
- --- dll/cpl/console/console.c (revision 54086)
- +++ dll/cpl/console/console.c (working copy)
- @@ -71,7 +71,7 @@
- void
- InitConsoleDefaults(PConsoleInfo pConInfo)
- {
- - /* initialize struct */
- + /* Initialize struct */
- pConInfo->InsertMode = TRUE;
- pConInfo->HistoryBufferSize = 50;
- pConInfo->NumberOfHistoryBuffers = 5;
- @@ -142,7 +142,7 @@
- if (res == IDCANCEL)
- {
- - /* dont destroy when user presses cancel */
- + /* Don't destroy when user presses cancel */
- SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_INVALID_NOCHANGEPAGE);
- }
- else if ( res == IDC_RADIO_APPLY_ALL )
- @@ -175,8 +175,8 @@
- /*
- * console.dll shares information with win32csr with wParam, lParam
- *
- - * wParam is a pointer to an ConsoleInfo struct
- - * lParam is a boolean parameter which specifies wheter defaults should be shown
- + * wParam is a pointer to a ConsoleInfo struct
- + * lParam is a boolean parameter which specifies whether defaults should be shown
- */
- pConInfo = AllocConsoleInfo();
- @@ -187,14 +187,14 @@
- if (lParam)
- {
- - /* use defaults */
- + /* Use defaults */
- InitConsoleDefaults(pConInfo);
- }
- else
- {
- if (IsBadReadPtr((const void *)pSharedInfo, sizeof(ConsoleInfo)))
- {
- - /* use defaults */
- + /* Use defaults */
- InitConsoleDefaults(pConInfo);
- }
- else
- @@ -305,5 +305,4 @@
- break;
- }
- return TRUE;
- -}
- -
- +}
- \ No newline at end of file
- Index: dll/cpl/console/console.h
- ===================================================================
- --- dll/cpl/console/console.h (revision 54086)
- +++ dll/cpl/console/console.h (working copy)
- @@ -53,7 +53,7 @@
- #define PM_APPLY_CONSOLE_INFO (WM_APP + 100)
- -//globals
- +//Globals
- extern HINSTANCE hApplet;
- #endif /* CONSOLE_H__ */
- Index: dll/cpl/console/console.rc
- ===================================================================
- --- dll/cpl/console/console.rc (revision 54086)
- +++ dll/cpl/console/console.rc (working copy)
- @@ -16,4 +16,4 @@
- #define REACTOS_STR_ORIGINAL_FILENAME "console.dll\0"
- #include <reactos/version.rc>
- -#include "rsrc.rc"
- +#include "rsrc.rc"
- \ No newline at end of file
- Index: dll/cpl/console/layout.c
- ===================================================================
- --- dll/cpl/console/layout.c (revision 54086)
- +++ dll/cpl/console/layout.c (working copy)
- @@ -9,7 +9,6 @@
- #include "console.h"
- -
- void PaintConsole(LPDRAWITEMSTRUCT drawItem, PConsoleInfo pConInfo)
- {
- HBRUSH hBrush;
- @@ -31,45 +30,45 @@
- else
- {
- //TODO
- - // calculate pos correctly when console centered
- + // Calculate pos correctly when console centered
- startx = sizex / 3;
- starty = sizey / 3;
- }
- //TODO
- - // strech console when bold fonts are selected
- + // Strech console when bold fonts are selected
- endx = drawItem->rcItem.right - startx + 15;
- endy = starty + sizey / 3;
- - /* draw console size */
- + /* Draw console size */
- SetRect(&cRect, startx, starty, endx, endy);
- FillRect(drawItem->hDC, &cRect, GetSysColorBrush(COLOR_WINDOWFRAME));
- - /* draw console border */
- + /* Draw console border */
- SetRect(&fRect, startx + 1, starty + 1, cRect.right - 1, cRect.bottom - 1);
- FrameRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
- - /* draw left box */
- + /* Draw left box */
- SetRect(&fRect, startx + 3, starty + 3, startx + 5, starty + 5);
- FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
- - /* draw window title */
- + /* Draw window title */
- SetRect(&fRect, startx + 7, starty + 3, cRect.right - 9, starty + 5);
- FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVECAPTION));
- - /* draw first right box */
- + /* Draw first right box */
- SetRect(&fRect, fRect.right + 1, starty + 3, fRect.right + 3, starty + 5);
- FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
- - /* draw second right box */
- + /* Draw second right box */
- SetRect(&fRect, fRect.right + 1, starty + 3, fRect.right + 3, starty + 5);
- FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
- - /* draw scrollbar */
- + /* Draw scrollbar */
- SetRect(&fRect, cRect.right - 5, fRect.bottom + 1, cRect.right - 3, cRect.bottom - 3);
- FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_SCROLLBAR));
- - /* draw console background */
- + /* Draw console background */
- hBrush = CreateSolidBrush(pConInfo->ScreenBackground);
- SetRect(&fRect, startx + 3, starty + 6, cRect.right - 6, cRect.bottom - 3);
- FillRect(drawItem->hDC, &fRect, hBrush);
- @@ -107,7 +106,7 @@
- FillRect(drawItem->hDC, &drawItem->rcItem, hBrush);
- if (ntColor == nbkColor)
- {
- - /* text has same color -> invisible */
- + /* Text has same color -> invisible */
- return;
- }
- @@ -120,7 +119,6 @@
- }
- -
- INT_PTR
- CALLBACK
- LayoutProc(
- @@ -167,7 +165,7 @@
- }
- else
- {
- - //FIXME calculate window pos from xres, yres
- + //FIXME: Calculate window pos from xres, yres
- SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_POS_LEFT, 88, FALSE);
- SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_POS_TOP, 88, FALSE);
- EnableWindow(GetDlgItem(hwndDlg, IDC_EDIT_WINDOW_POS_LEFT), FALSE);
- @@ -251,7 +249,7 @@
- if (lppsn->hdr.idFrom == IDC_UPDOWN_WINDOW_SIZE_WIDTH || lppsn->hdr.idFrom == IDC_UPDOWN_WINDOW_SIZE_HEIGHT)
- {
- - /* automatically adjust screen buffer size when window size enlarges */
- + /* Automatically adjust screen buffer size when window size enlarges */
- if (wwidth >= swidth)
- {
- SetDlgItemInt(hwndDlg, IDC_EDIT_SCREEN_BUFFER_WIDTH, wwidth, TRUE);
- @@ -269,7 +267,7 @@
- if (lppsn->hdr.idFrom == IDC_UPDOWN_SCREEN_BUFFER_WIDTH || lppsn->hdr.idFrom == IDC_UPDOWN_SCREEN_BUFFER_HEIGHT)
- {
- - /* automatically adjust window size when screen buffer decreases */
- + /* Automatically adjust window size when screen buffer decreases */
- if (wwidth > swidth)
- {
- SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_SIZE_WIDTH, swidth, TRUE);
- @@ -317,7 +315,7 @@
- swidth = max(swidth, 1);
- sheight = max(sheight, 1);
- - /* automatically adjust window size when screen buffer decreases */
- + /* Automatically adjust window size when screen buffer decreases */
- if (wwidth > swidth)
- {
- SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_SIZE_WIDTH, swidth, TRUE);
- @@ -373,4 +371,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/console/options.c
- ===================================================================
- --- dll/cpl/console/options.c (revision 54086)
- +++ dll/cpl/console/options.c (working copy)
- @@ -61,7 +61,7 @@
- }
- else
- {
- - /* options have already been applied */
- + /* Options have already been applied */
- SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_NOERROR);
- return TRUE;
- }
- @@ -174,10 +174,10 @@
- HWND hDlgCtrl;
- TCHAR szBuffer[MAX_PATH];
- - /* update cursor size */
- + /* Update cursor size */
- if ( pConInfo->CursorSize == 0)
- {
- - /* small cursor */
- + /* Small cursor */
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_RADIO_SMALL_CURSOR);
- SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
- @@ -207,14 +207,14 @@
- SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_UNCHECKED, 0);
- }
- - /* update num buffers */
- + /* Update num buffers */
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_UPDOWN_NUM_BUFFER);
- SendMessage(hDlgCtrl, UDM_SETRANGE, 0, MAKELONG((short)999, (short)1));
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_EDIT_NUM_BUFFER);
- _stprintf(szBuffer, _T("%d"), pConInfo->NumberOfHistoryBuffers);
- SendMessage(hDlgCtrl, WM_SETTEXT, 0, (LPARAM)szBuffer);
- - /* update buffer size */
- + /* Update buffer size */
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_UPDOWN_BUFFER_SIZE);
- SendMessage(hDlgCtrl, UDM_SETRANGE, 0, MAKELONG((short)999, (short)1));
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_EDIT_BUFFER_SIZE);
- @@ -223,14 +223,14 @@
- - /* update discard duplicates */
- + /* Update discard duplicates */
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_DISCARD_DUPLICATES);
- if ( pConInfo->HistoryNoDup )
- SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
- else
- SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
- - /* update full/window screen */
- + /* Update full/window screen */
- if ( pConInfo->FullScreen )
- {
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_RADIO_DISPLAY_FULL);
- @@ -248,19 +248,17 @@
- SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
- }
- - /* update quick edit */
- + /* Update quick edit */
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_QUICK_EDIT);
- if ( pConInfo->QuickEdit )
- SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
- else
- SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
- - /* update insert mode */
- + /* Update insert mode */
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_INSERT_MODE);
- if ( pConInfo->InsertMode )
- SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
- else
- SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
- -}
- -
- -
- +}
- \ No newline at end of file
- Index: dll/cpl/console/resource.h
- ===================================================================
- --- dll/cpl/console/resource.h (revision 54086)
- +++ dll/cpl/console/resource.h (working copy)
- @@ -11,7 +11,7 @@
- #define IDD_PROPPAGECOLORS 103
- #define IDD_APPLYOPTIONS 104
- -//options dialog
- +//Options dialog
- #define IDC_CHECK_QUICK_EDIT 200
- #define IDC_CHECK_INSERT_MODE 201
- #define IDC_CHECK_DISCARD_DUPLICATES 202
- @@ -25,11 +25,11 @@
- #define IDC_RADIO_DISPLAY_WINDOW 210
- #define IDC_RADIO_DISPLAY_FULL 211
- -// apply dialog
- +//Apply dialog
- #define IDC_RADIO_APPLY_ALL 300
- #define IDC_RADIO_APPLY_CURRENT 301
- -//font dialog
- +//Font dialog
- #define IDC_CHECK_BOLD_FONTS 400
- #define IDC_STATIC_SELECT_FONT_PREVIEW 401
- #define IDC_FONT_SIZE_X 402
- @@ -39,8 +39,7 @@
- #define IDC_LBOX_TYPE 406
- #define IDC_GROUPBOX_FONT_NAME 407
- -//layout dialog
- -
- +//Layout dialog
- #define IDC_UPDOWN_SCREEN_BUFFER_WIDTH 500
- #define IDC_EDIT_SCREEN_BUFFER_WIDTH 501
- #define IDC_EDIT_SCREEN_BUFFER_HEIGHT 502
- @@ -56,8 +55,7 @@
- #define IDC_CHECK_SYSTEM_POS_WINDOW 512
- #define IDC_STATIC_LAYOUT_WINDOW_PREVIEW 513
- -//color dialog
- -
- +//Color dialog
- #define IDC_RADIO_SCREEN_TEXT 600
- #define IDC_RADIO_SCREEN_BACKGROUND 601
- #define IDC_RADIO_POPUP_TEXT 602
- @@ -87,7 +85,6 @@
- #define IDC_STATIC_COLOR15 626
- #define IDC_STATIC_COLOR16 627
- -
- -//string ids
- +//String ids
- #define IDS_SCREEN_TEXT 700
- -#define IDS_RASTERFONTS 701
- +#define IDS_RASTERFONTS 701
- \ No newline at end of file
- Index: dll/cpl/desk/background.c
- ===================================================================
- --- dll/cpl/desk/background.c (revision 54086)
- +++ dll/cpl/desk/background.c (working copy)
- @@ -277,7 +277,7 @@
- DWORD dwDisposition = 0;
- result = RegCreateKeyEx( HKEY_CURRENT_USER, TEXT("Control Panel\\Desktop"), 0, NULL, 0, KEY_ALL_ACCESS, NULL,
- ®Key, &dwDisposition );
- - /* now the key must be created & opened and regKey points to opened key */
- + /* Now the key must be created & opened and regKey points to opened key */
- /* On error result will not contain ERROR_SUCCESS. I don't know how to handle */
- /* this case :( */
- }
- @@ -397,10 +397,10 @@
- LVFINDINFO lvfi;
- int retVal;
- - lvfi.flags = LVFI_STRING; /* search item by EXACT string */
- - lvfi.psz = tszFileName; /* string to search */
- + lvfi.flags = LVFI_STRING; /* Search item by EXACT string */
- + lvfi.psz = tszFileName; /* String to search */
- - /* other items of this structure are not valid, besacuse flags are not set. */
- + /* Other items of this structure are not valid, besacuse flags are not set. */
- retVal = ListView_FindItem(hwndList, -1, &lvfi);
- if (retVal != -1)
- return TRUE; /* item found! */
- @@ -546,7 +546,7 @@
- if (pData->backgroundItems[pData->backgroundSelection].bWallpaper == FALSE)
- {
- - /* update desktop background color image */
- + /* Update desktop background color image */
- hBrush = CreateSolidBrush(g_GlobalData.desktop_color);
- FillRect(hDC, &rcItem, hBrush);
- DeleteObject(hBrush);
- @@ -726,7 +726,7 @@
- red = GetRValue(g_GlobalData.desktop_color);
- green = GetGValue(g_GlobalData.desktop_color);
- blue = GetBValue(g_GlobalData.desktop_color);
- - /* format string to be set to registry */
- + /* Format string to be set to registry */
- wsprintf(clText, TEXT("%d %d %d"), red, green, blue);
- RegSetValueEx(hKey, TEXT("Background"), 0, REG_SZ, (BYTE *)clText,
- (lstrlen(clText) + 1) * sizeof(TCHAR));
- @@ -830,4 +830,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/classinst.c
- ===================================================================
- --- dll/cpl/desk/classinst.c (revision 54086)
- +++ dll/cpl/desk/classinst.c (working copy)
- @@ -228,4 +228,4 @@
- RegCloseKey(hDeviceSubKey);
- return rc;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/desk.h
- ===================================================================
- --- dll/cpl/desk/desk.h (revision 54086)
- +++ dll/cpl/desk/desk.h (working copy)
- @@ -83,7 +83,7 @@
- LPTSTR DeviceKey;
- LPTSTR DeviceID;
- DWORD DeviceStateFlags;
- - PSETTINGS_ENTRY Settings; /* sorted by increasing dmPelsHeight, BPP */
- + PSETTINGS_ENTRY Settings; /* Sorted by increasing dmPelsHeight, BPP */
- DWORD SettingsCount;
- PRESOLUTION_INFO Resolutions;
- DWORD ResolutionsCount;
- Index: dll/cpl/desk/devsett.c
- ===================================================================
- --- dll/cpl/desk/devsett.c (revision 54086)
- +++ dll/cpl/desk/devsett.c (working copy)
- @@ -17,15 +17,15 @@
- const struct IDataObjectVtbl *lpIDataObjectVtbl;
- DWORD ref;
- - CLIPFORMAT cfExtInterface; /* "Desk.cpl extension interface" */
- - CLIPFORMAT cfDisplayDevice; /* "Display Device" */
- - CLIPFORMAT cfDisplayName; /* "Display Name" */
- - CLIPFORMAT cfDisplayId; /* "Display ID" */
- - CLIPFORMAT cfMonitorName; /* "Monitor Name" */
- - CLIPFORMAT cfMonitorDevice; /* "Monitor Device" */
- - CLIPFORMAT cfDisplayKey; /* "Display Key" */
- + CLIPFORMAT cfExtInterface; /* "Desk.cpl extension interface" */
- + CLIPFORMAT cfDisplayDevice; /* "Display Device" */
- + CLIPFORMAT cfDisplayName; /* "Display Name" */
- + CLIPFORMAT cfDisplayId; /* "Display ID" */
- + CLIPFORMAT cfMonitorName; /* "Monitor Name" */
- + CLIPFORMAT cfMonitorDevice; /* "Monitor Device" */
- + CLIPFORMAT cfDisplayKey; /* "Display Key" */
- CLIPFORMAT cfDisplayStateFlags; /* "Display State Flags" */
- - CLIPFORMAT cfPruningMode; /* "Pruning Mode" */
- + CLIPFORMAT cfPruningMode; /* "Pruning Mode" */
- PWSTR pDisplayDevice;
- PWSTR pDisplayName;
- @@ -909,4 +909,4 @@
- //PCDevSettings This = impl_from_IDataObject((IDataObject *)Context);
- DPRINT("DisplaySaveSettings() UNIMPLEMENTED!\n");
- return DISP_CHANGE_BADPARAM;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/dibitmap.c
- ===================================================================
- --- dll/cpl/desk/dibitmap.c (revision 54086)
- +++ dll/cpl/desk/dibitmap.c (working copy)
- @@ -96,4 +96,4 @@
- /* Free the bitmap structure */
- if (lpBitmap != NULL)
- HeapFree(GetProcessHeap(), 0, lpBitmap);
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/draw.c
- ===================================================================
- --- dll/cpl/desk/draw.c (revision 54086)
- +++ dll/cpl/desk/draw.c (working copy)
- @@ -257,22 +257,22 @@
- lf.lfCharSet = DEFAULT_CHARSET;
- lstrcpy(lf.lfFaceName, TEXT("Marlett"));
- hFont = CreateFontIndirect(&lf);
- - /* save font and text color */
- + /* Save font and text color */
- hOldFont = SelectObject(dc, hFont);
- clrsave = GetTextColor(dc);
- bkmode = GetBkMode(dc);
- - /* set color and drawing mode */
- + /* Set color and drawing mode */
- SetBkMode(dc, TRANSPARENT);
- if(uFlags & DFCS_INACTIVE)
- {
- - /* draw shadow */
- + /* Draw shadow */
- SetTextColor(dc, scheme->crColor[COLOR_BTNHIGHLIGHT]);
- TextOut(dc, myr.left + 1, myr.top + 1, &Symbol, 1);
- }
- SetTextColor(dc, scheme->crColor[(uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT]);
- - /* draw selected symbol */
- + /* Draw selected symbol */
- TextOut(dc, myr.left, myr.top, &Symbol, 1);
- - /* restore previous settings */
- + /* Restore previous settings */
- SetTextColor(dc, clrsave);
- SelectObject(dc, hOldFont);
- SetBkMode(dc, bkmode);
- @@ -325,20 +325,20 @@
- lf.lfCharSet = DEFAULT_CHARSET;
- lstrcpy(lf.lfFaceName, TEXT("Marlett"));
- hFont = CreateFontIndirect(&lf);
- - /* save font and text color */
- + /* Save font and text color */
- hOldFont = SelectObject(dc, hFont);
- clrsave = GetTextColor(dc);
- bkmode = GetBkMode(dc);
- - /* set color and drawing mode */
- + /* Set color and drawing mode */
- SetBkMode(dc, TRANSPARENT);
- if(uFlags & DFCS_INACTIVE)
- {
- - /* draw shadow */
- + /* Draw shadow */
- SetTextColor(dc, scheme->crColor[COLOR_BTNHIGHLIGHT]);
- TextOut(dc, myr.left + 1, myr.top + 1, &Symbol, 1);
- }
- SetTextColor(dc, scheme->crColor[(uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT]);
- - /* draw selected symbol */
- + /* Draw selected symbol */
- TextOut(dc, myr.left, myr.top, &Symbol, 1);
- /* restore previous settings */
- SetTextColor(dc, clrsave);
- @@ -602,4 +602,4 @@
- SelectObject(DC, hFontOld);
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/effappdlg.c
- ===================================================================
- --- dll/cpl/desk/effappdlg.c (revision 54086)
- +++ dll/cpl/desk/effappdlg.c (working copy)
- @@ -139,4 +139,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/general.c
- ===================================================================
- --- dll/cpl/desk/general.c (revision 54086)
- +++ dll/cpl/desk/general.c (working copy)
- @@ -141,4 +141,4 @@
- }
- return Ret;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/misc.c
- ===================================================================
- --- dll/cpl/desk/misc.c (revision 54086)
- +++ dll/cpl/desk/misc.c (working copy)
- @@ -24,7 +24,7 @@
- UINT x;
- /* Find the string we're looking for */
- - uID &= 0xF; /* position in the block, same as % 16 */
- + uID &= 0xF; /* Position in the block, same as % 16 */
- for (x = 0; x < uID; x++)
- {
- lpStr += (*lpStr) + 1;
- @@ -60,4 +60,4 @@
- }
- }
- return 0;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/monslctl.c
- ===================================================================
- --- dll/cpl/desk/monslctl.c (revision 54086)
- +++ dll/cpl/desk/monslctl.c (working copy)
- @@ -750,7 +750,7 @@
- if (infoPtr->hbrDisabled != NULL)
- {
- - /* FIXME - implement */
- + /* FIXME: Implement */
- }
- return Ret;
- @@ -1242,7 +1242,7 @@
- if (!(infoPtr->ControlExStyle & MSLM_EX_SELECTONRIGHTCLICK))
- break;
- - /* fall through */
- + /* Fall through */
- }
- case WM_LBUTTONDBLCLK:
- @@ -1274,7 +1274,7 @@
- &pt);
- }
- - /* fall through */
- + /* Fall through */
- }
- case WM_MBUTTONDOWN:
- @@ -1308,7 +1308,7 @@
- {
- case VK_TAB:
- {
- - /* change the UI status */
- + /* Change the UI status */
- SendMessage(GetAncestor(hwnd,
- GA_PARENT),
- WM_CHANGEUISTATE,
- @@ -1647,4 +1647,4 @@
- {
- UnregisterClassW(szMonitorSelWndClass,
- hInstance);
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/monslctl.h
- ===================================================================
- --- dll/cpl/desk/monslctl.h (revision 54086)
- +++ dll/cpl/desk/monslctl.h (working copy)
- @@ -212,4 +212,4 @@
- #define MSLM_GETMONITORRECT (WM_USER + 0x20)
- BOOL RegisterMonitorSelectionControl(IN HINSTANCE hInstance);
- -VOID UnregisterMonitorSelectionControl(IN HINSTANCE hInstance);
- +VOID UnregisterMonitorSelectionControl(IN HINSTANCE hInstance);
- \ No newline at end of file
- Index: dll/cpl/desk/preview.c
- ===================================================================
- --- dll/cpl/desk/preview.c (revision 54086)
- +++ dll/cpl/desk/preview.c (working copy)
- @@ -524,4 +524,4 @@
- UnregisterPreviewControl(IN HINSTANCE hInstance)
- {
- UnregisterClass(szPreviewWndClass, hInstance);
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/preview.h
- ===================================================================
- --- dll/cpl/desk/preview.h (revision 54086)
- +++ dll/cpl/desk/preview.h (working copy)
- @@ -38,4 +38,4 @@
- #define PVM_UPDATETHEME (WM_USER+13)
- BOOL RegisterPreviewControl(IN HINSTANCE hInstance);
- -VOID UnregisterPreviewControl(IN HINSTANCE hInstance);
- +VOID UnregisterPreviewControl(IN HINSTANCE hInstance);
- \ No newline at end of file
- Index: dll/cpl/desk/resource.h
- ===================================================================
- --- dll/cpl/desk/resource.h (revision 54086)
- +++ dll/cpl/desk/resource.h (working copy)
- @@ -1,6 +1,6 @@
- #pragma once
- -/* metrics */
- +/* Metrics */
- #define PROPSHEETWIDTH 246
- #define PROPSHEETHEIGHT 228
- #define PROPSHEETPADDING 6
- @@ -183,4 +183,4 @@
- #define IDC_FONTSIZE_COSTOM 5001
- #define IDC_RESTART_RB 5002
- #define IDC_WITHOUTREBOOT_RB 5003
- -#define IDC_ASKME_RB 5004
- +#define IDC_ASKME_RB 5004
- \ No newline at end of file
- Index: dll/cpl/desk/screensaver.c
- ===================================================================
- --- dll/cpl/desk/screensaver.c (revision 54086)
- +++ dll/cpl/desk/screensaver.c (working copy)
- @@ -108,7 +108,7 @@
- STARTUPINFO si;
- TCHAR szCmdline[2048];
- - /* kill off the previous preview process*/
- + /* Kill off the previous preview process*/
- if (pData->PrevWindowPi.hProcess)
- {
- TerminateProcess(pData->PrevWindowPi.hProcess, 0);
- @@ -214,7 +214,7 @@
- &si,
- &pi))
- {
- - /* kill off the previous preview process */
- + /* Kill off the previous preview process */
- if (pData->PrevWindowPi.hProcess)
- {
- TerminateProcess(pData->PrevWindowPi.hProcess, 0);
- @@ -243,7 +243,7 @@
- if (pData->Selection < 1)
- return;
- - /* kill off the previous preview process*/
- + /* Kill off the previous preview process*/
- if (pData->PrevWindowPi.hProcess)
- {
- TerminateProcess(pData->PrevWindowPi.hProcess, 0);
- @@ -473,7 +473,7 @@
- TCHAR szTime[256], Sec;
- UINT Ret;
- - /* set the screensaver */
- + /* Set the screensaver */
- if (pData->ScreenSaverItems[pData->Selection].bIsScreenSaver)
- {
- RegSetValueEx(regKey,
- @@ -512,7 +512,7 @@
- SystemParametersInfoW(SPI_SETSCREENSAVETIMEOUT, Time, 0, SPIF_SENDCHANGE);
- - /* set the secure value */
- + /* Set the secure value */
- Ret = SendDlgItemMessage(hwndDlg,
- IDC_SCREENS_USEPASSCHK,
- BM_GETCHECK,
- @@ -565,7 +565,7 @@
- CheckRegScreenSaverIsSecure(hwndDlg);
- - /* set the current screensaver in the combo box */
- + /* Set the current screensaver in the combo box */
- lpCurSs = GetCurrentScreenSaverValue(_T("SCRNSAVE.EXE"));
- if (lpCurSs)
- {
- @@ -607,14 +607,14 @@
- }
- else
- {
- - /* set screensaver to (none) */
- + /* Set screensaver to (none) */
- SendMessage(hwndSSCombo,
- CB_SETCURSEL,
- 0,
- 0);
- }
- - /* set the current timeout */
- + /* Set the current timeout */
- lpCurSs = GetCurrentScreenSaverValue(_T("ScreenSaveTimeOut"));
- if (lpCurSs)
- {
- @@ -755,7 +755,7 @@
- case PSN_SETACTIVE:
- {
- - /* activate screen saver support */
- + /* Activate screen saver support */
- SystemParametersInfoW(SPI_SETSCREENSAVEACTIVE, TRUE, 0, SPIF_SENDCHANGE);
- SetScreenSaverPreviewBox(hwndDlg, pData);
- break;
- @@ -780,4 +780,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/settings.c
- ===================================================================
- --- dll/cpl/desk/settings.c (revision 54086)
- +++ dll/cpl/desk/settings.c (working copy)
- @@ -336,7 +336,7 @@
- 1,
- (LPARAM)&monitors);
- }
- - else /* FIXME: incomplete! */
- + else /* FIXME: Incomplete! */
- {
- PMONSL_MONINFO pMonitors;
- DWORD i;
- @@ -424,7 +424,7 @@
- static VOID
- OnBPPChanged(IN HWND hwndDlg, IN PDATA pData)
- {
- - /* if new BPP is not compatible with resolution:
- + /* If new BPP is not compatible with resolution:
- * 1) try to find the nearest smaller matching resolution
- * 2) otherwise, get the nearest bigger resolution
- */
- @@ -444,11 +444,11 @@
- GetClientRect(hSpectrumControl, &client);
- ShowColorSpectrum(hSpectrumDC, &client, dmNewBitsPerPel, pData);
- - /* find if new parameters are valid */
- + /* Find if new parameters are valid */
- Current = pData->CurrentDisplayDevice->CurrentSettings;
- if (dmNewBitsPerPel == Current->dmBitsPerPel)
- {
- - /* no change */
- + /* No change */
- return;
- }
- @@ -487,7 +487,7 @@
- }
- }
- - /* search smaller resolution compatible with current color depth */
- + /* Search smaller resolution compatible with current color depth */
- Current = pData->CurrentDisplayDevice->CurrentSettings->Blink;
- while (Current != NULL)
- {
- @@ -500,7 +500,7 @@
- Current = Current->Blink;
- }
- - /* search bigger resolution compatible with current color depth */
- + /* Search bigger resolution compatible with current color depth */
- Current = pData->CurrentDisplayDevice->CurrentSettings->Flink;
- while (Current != NULL)
- {
- @@ -513,14 +513,14 @@
- Current = Current->Flink;
- }
- - /* we shouldn't go there */
- + /* We shouldn't go there */
- }
- static VOID
- OnResolutionChanged(IN HWND hwndDlg, IN PDATA pData, IN DWORD NewPosition,
- IN BOOL bUpdateThumb)
- {
- - /* if new resolution is not compatible with color depth:
- + /* If new resolution is not compatible with color depth:
- * 1) try to find the nearest bigger matching color depth
- * 2) otherwise, get the nearest smaller color depth
- */
- @@ -528,11 +528,11 @@
- DWORD dmNewPelsHeight = pData->CurrentDisplayDevice->Resolutions[NewPosition].dmPelsHeight;
- DWORD dmNewPelsWidth = pData->CurrentDisplayDevice->Resolutions[NewPosition].dmPelsWidth;
- - /* find if new parameters are valid */
- + /* Find if new parameters are valid */
- Current = pData->CurrentDisplayDevice->CurrentSettings;
- if (dmNewPelsHeight == Current->dmPelsHeight && dmNewPelsWidth == Current->dmPelsWidth)
- {
- - /* no change */
- + /* No change */
- return;
- }
- @@ -571,7 +571,7 @@
- }
- }
- - /* search bigger color depth compatible with current resolution */
- + /* Search bigger color depth compatible with current resolution */
- Current = pData->CurrentDisplayDevice->CurrentSettings->Flink;
- while (Current != NULL)
- {
- @@ -584,7 +584,7 @@
- Current = Current->Flink;
- }
- - /* search smaller color depth compatible with current resolution */
- + /* Search smaller color depth compatible with current resolution */
- Current = pData->CurrentDisplayDevice->CurrentSettings->Blink;
- while (Current != NULL)
- {
- @@ -597,7 +597,7 @@
- Current = Current->Blink;
- }
- - /* we shouldn't go there */
- + /* We shouldn't go there */
- }
- /* Property sheet page callback */
- @@ -858,4 +858,4 @@
- }
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/desk/theme.c
- ===================================================================
- --- dll/cpl/desk/theme.c (revision 54086)
- +++ dll/cpl/desk/theme.c (working copy)
- @@ -122,7 +122,7 @@
- scheme->Effects.bTooltipAnimation = scheme->Effects.bMenuAnimation;
- scheme->Effects.bTooltipFade = scheme->Effects.bMenuFade;
- - /* show content of windows during dragging */
- + /* Show content of windows during dragging */
- SystemParametersInfo(SPI_GETDRAGFULLWINDOWS, 0, &scheme->Effects.bDragFullWindows, 0);
- /* "Hide underlined letters for keyboard navigation until I press the Alt key" */
- @@ -306,7 +306,7 @@
- BOOL SaveScheme(COLOR_SCHEME* scheme, LPCTSTR strLegacyName)
- {
- - /* FIXME: implement */
- + /* FIXME: Implement */
- return FALSE;
- }
- @@ -341,7 +341,7 @@
- while((RegEnumKeyEx(hkNewSchemes, iStyle, g_ColorSchemes[iTemplateIndex].strKeyName, &dwLength,
- NULL, NULL, NULL, &ftLastWriteTime) == ERROR_SUCCESS) && (iTemplateIndex < MAX_TEMPLATES))
- {
- - /* is it really a template or one of the other entries */
- + /* Is it really a template or one of the other entries */
- if (dwLength <= 4)
- {
- if (RegOpenKeyEx(hkNewSchemes, g_ColorSchemes[iTemplateIndex].strKeyName, 0, KEY_READ, &hkScheme) == ERROR_SUCCESS)
- Index: dll/cpl/hdwwiz/hdwwiz.c
- ===================================================================
- --- dll/cpl/hdwwiz/hdwwiz.c (revision 54086)
- +++ dll/cpl/hdwwiz/hdwwiz.c (working copy)
- @@ -319,7 +319,7 @@
- if (hDevInfo == INVALID_HANDLE_VALUE) return;
- - /* get the device image List */
- + /* Get the device image List */
- ImageListData.cbSize = sizeof(ImageListData);
- SetupDiGetClassImageList(&ImageListData);
- @@ -335,7 +335,7 @@
- if (ulStatus & DN_NO_SHOW_IN_DM) continue;
- }
- - /* get the device's friendly name */
- + /* Get the device's friendly name */
- if (!SetupDiGetDeviceRegistryProperty(hDevInfo,
- &DevInfoData,
- SPDRP_FRIENDLYNAME,
- @@ -344,7 +344,7 @@
- MAX_STR_SIZE,
- NULL))
- {
- - /* if the friendly name fails, try the description instead */
- + /* If the friendly name fails, try the description instead */
- SetupDiGetDeviceRegistryProperty(hDevInfo,
- &DevInfoData,
- SPDRP_DEVICEDESC,
- @@ -574,7 +574,7 @@
- 0);
- if (Ret != CR_SUCCESS)
- {
- - /* all classes enumerated */
- + /* All classes enumerated */
- if(Ret == CR_NO_SUCH_VALUE)
- {
- hDevInfoTypes = NULL;
- @@ -583,10 +583,10 @@
- if (Ret == CR_INVALID_DATA)
- {
- - ; /*FIXME: what should we do here? */
- + ; /*FIXME: What should we do here? */
- }
- - /* handle other errors... */
- + /* Handle other errors... */
- }
- if (SetupDiClassNameFromGuid(&ClassGuid,
- @@ -601,9 +601,9 @@
- &ClassGuid,
- ClassImage))
- {
- - /* FIXME: can we do this?
- + /* FIXME: Can we do this?
- * Set the blank icon: IDI_SETUPAPI_BLANK = 41
- - * it'll be image 24 in the imagelist */
- + * It'll be image 24 in the imagelist */
- *ClassImage = 24;
- }
- @@ -696,7 +696,7 @@
- (VOID) ListView_InsertItem(hList, &Item);
- - /* kill InfoList initialized in EnumDeviceClasses */
- + /* Kill InfoList initialized in EnumDeviceClasses */
- if (hDevInfoTypes)
- {
- SetupDiDestroyDeviceInfoList(hDevInfoTypes);
- @@ -971,4 +971,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/inetcpl/content.c
- ===================================================================
- --- dll/cpl/inetcpl/content.c (revision 54086)
- +++ dll/cpl/inetcpl/content.c (working copy)
- @@ -96,4 +96,4 @@
- }
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/inetcpl/general.c
- ===================================================================
- --- dll/cpl/inetcpl/general.c (revision 54086)
- +++ dll/cpl/inetcpl/general.c (working copy)
- @@ -42,7 +42,7 @@
- 'I','n','t','e','r','n','e','t',' ','E','x','p','l','o','r','e','r','\\',
- 'M','a','i','n',0};
- -/* list of unimplemented buttons */
- +/* List of unimplemented buttons */
- static DWORD disabled_general_buttons[] = {IDC_HOME_CURRENT,
- IDC_HOME_DEFAULT,
- IDC_HISTORY_SETTINGS,
- @@ -165,7 +165,7 @@
- switch (wparam)
- {
- case MAKEWPARAM(IDC_HOME_EDIT, EN_CHANGE):
- - /* enable apply button */
- + /* Enable apply button */
- SendMessageW(GetParent(hwnd), PSM_CHANGED, (WPARAM)hwnd, 0);
- break;
- @@ -199,14 +199,14 @@
- LONG res;
- DWORD *ptr = disabled_general_buttons;
- - /* disable unimplemented buttons */
- + /* Disable unimplemented buttons */
- while (*ptr)
- {
- EnableWindow(GetDlgItem(hwnd, *ptr), FALSE);
- ptr++;
- }
- - /* read current homepage from the registry. Try HCU first, then HKLM */
- + /* Read current homepage from the registry. Try HCU first, then HKLM */
- *buffer = 0;
- len = sizeof(buffer);
- type = REG_SZ;
- @@ -248,11 +248,11 @@
- {
- HKEY hkey;
- - /* update the dialog, when needed */
- + /* Update the dialog, when needed */
- if (lstrcmpW(buffer, parsed))
- SetDlgItemTextW(hwnd, IDC_HOME_EDIT, parsed);
- - /* update the registry */
- + /* Update the registry */
- res = RegOpenKeyW(HKEY_CURRENT_USER, reg_ie_main, &hkey);
- if (!res)
- {
- @@ -286,12 +286,11 @@
- return general_on_notify(hwnd, wparam, lparam);
- default:
- - /* do not flood the log */
- + /* Do not flood the log */
- if ((msg == WM_SETCURSOR) || (msg == WM_NCHITTEST) || (msg == WM_MOUSEMOVE))
- return FALSE;
- TRACE("(%p, 0x%08x/%d, 0x%lx, 0x%lx)\n", hwnd, msg, msg, wparam, lparam);
- -
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/inetcpl/inetcpl.c
- ===================================================================
- --- dll/cpl/inetcpl/inetcpl.c (revision 54086)
- +++ dll/cpl/inetcpl/inetcpl.c (working copy)
- @@ -129,7 +129,7 @@
- psh.u3.ppsp = psp;
- psh.pfnCallback = propsheet_callback;
- - /* display the dialog */
- + /* Display the dialog */
- PropertySheetW(&psh);
- OleUninitialize();
- @@ -200,4 +200,4 @@
- {
- display_cpl_sheets(parent);
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/inetcpl/inetcpl.h
- ===================================================================
- --- dll/cpl/inetcpl/inetcpl.h (revision 54086)
- +++ dll/cpl/inetcpl/inetcpl.h (working copy)
- @@ -52,10 +52,10 @@
- #define NUM_PROPERTY_PAGES 8
- -/* icons */
- +/* Icons */
- #define ICO_MAIN 100
- -/* strings */
- +/* Strings */
- #define IDS_CPL_NAME 1
- #define IDS_CPL_INFO 2
- #define IDS_SEC_SETTINGS 0x10
- @@ -72,7 +72,7 @@
- #define IDS_SEC_LEVEL4_INFO 0x240
- #define IDS_SEC_LEVEL5_INFO 0x250
- -/* dialogs */
- +/* Dialogs */
- #define IDC_STATIC -1
- #define IDD_GENERAL 1000
- Index: dll/cpl/inetcpl/security.c
- ===================================================================
- --- dll/cpl/inetcpl/security.c (revision 54086)
- +++ dll/cpl/inetcpl/security.c (working copy)
- @@ -42,9 +42,9 @@
- WINE_DEFAULT_DEBUG_CHANNEL(inetcpl);
- typedef struct secdlg_data_s {
- - HWND hsec; /* security propsheet */
- - HWND hlv; /* listview */
- - HWND htb; /* trackbar */
- + HWND hsec; /* Security propsheet */
- + HWND hlv; /* Listview */
- + HWND htb; /* Trackbar */
- IInternetSecurityManager *sec_mgr;
- IInternetZoneManager *zone_mgr;
- DWORD zone_enumerator;
- @@ -79,7 +79,7 @@
- while((index > 0) && (url_templates[index-1] != value))
- index--;
- - index--; /* table entries are 0 based */
- + index--; /* Table entries are 0 based */
- if (!index && value)
- FIXME("URLTEMPLATE 0x%x not supported\n", value);
- @@ -99,7 +99,7 @@
- TRACE("(%p, lv_index: %u, tb_index: %u)\n", sd, lv_index, tb_index);
- if ((sd->levels[lv_index] != sd->last_level) || (tb_index > 0)) {
- - /* show or hide the trackbar */
- + /* Show or hide the trackbar */
- if (!sd->levels[lv_index] || !sd->last_level)
- ShowWindow(sd->htb, sd->levels[lv_index] ? SW_NORMAL : SW_HIDE);
- @@ -192,7 +192,7 @@
- lvitem.pszText = za->szDisplayName;
- lvitem.lParam = (LPARAM) zone;
- - /* format is "filename.ext#iconid" */
- + /* Format is "filename.ext#iconid" */
- ptr = StrChrW(za->szIconPath, '#');
- if (ptr) {
- *ptr = 0;
- @@ -208,7 +208,7 @@
- FIXME("item %d (zone %d): missing icon #%d in %s\n", lv_index, zone, iconid, debugstr_w(za->szIconPath));
- }
- - /* the failure result (NULL) from LoadImageW let ImageList_AddIcon fail
- + /* The failure result (NULL) from LoadImageW let ImageList_AddIcon fail
- with -1, which is reused in ListView_InsertItemW to disable the image */
- lvitem.iImage = ImageList_AddIcon(sd->himages, icon);
- }
- @@ -216,7 +216,7 @@
- FIXME("item %d (zone %d): malformed szIconPath %s\n", lv_index, zone, debugstr_w(za->szIconPath));
- if (ListView_InsertItemW(sd->hlv, &lvitem) >= 0) {
- - /* activate first item in the listview */
- + /* Activate first item in the listview */
- if (! lv_index) {
- lvitem.state = LVIS_FOCUSED | LVIS_SELECTED;
- lvitem.stateMask = LVIS_FOCUSED | LVIS_SELECTED;
- @@ -316,7 +316,7 @@
- sd->hlv = GetDlgItem(hsec, IDC_SEC_LISTVIEW);
- sd->htb = GetDlgItem(hsec, IDC_SEC_TRACKBAR);
- - EnableWindow(sd->htb, FALSE); /* not changeable yet */
- + EnableWindow(sd->htb, FALSE); /* Not changeable yet */
- TRACE("(%p) (data: %p, listview: %p, trackbar: %p)\n", hsec, sd, sd->hlv, sd->htb);
- @@ -342,14 +342,14 @@
- TRACE("found %d zones\n", sd->num_zones);
- - /* remember ZONEATTRIBUTES for a listview entry */
- + /* Remember ZONEATTRIBUTES for a listview entry */
- sd->zone_attr = heap_alloc(sizeof(ZONEATTRIBUTES) * sd->num_zones);
- if (!sd->zone_attr) {
- security_on_destroy(sd);
- return FALSE;
- }
- - /* remember zone number and current security level for a listview entry */
- + /* Remember zone number and current security level for a listview entry */
- sd->zones = heap_alloc((sizeof(DWORD) + sizeof(DWORD)) * sd->num_zones);
- if (!sd->zones) {
- security_on_destroy(sd);
- @@ -357,7 +357,7 @@
- }
- sd->levels = &sd->zones[sd->num_zones];
- - /* use the same order as visible with native inetcpl.cpl */
- + /* Use the same order as visible with native inetcpl.cpl */
- add_zone_to_listview(sd, &lv_index, URLZONE_INTERNET);
- add_zone_to_listview(sd, &lv_index, URLZONE_INTRANET);
- add_zone_to_listview(sd, &lv_index, URLZONE_TRUSTED);
- @@ -432,7 +432,7 @@
- return security_on_destroy(sd);
- default:
- - /* do not flood the log */
- + /* Do not flood the log */
- if ((msg == WM_SETCURSOR) || (msg == WM_NCHITTEST) ||
- (msg == WM_MOUSEMOVE) || (msg == WM_MOUSEACTIVATE) || (msg == WM_PARENTNOTIFY))
- return FALSE;
- @@ -441,4 +441,4 @@
- }
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/input/resource.h
- ===================================================================
- --- dll/cpl/input/resource.h (revision 54086)
- +++ dll/cpl/input/resource.h (working copy)
- @@ -1,6 +1,6 @@
- #pragma once
- -/* metrics */
- +/* Metrics */
- #define PROPSHEETWIDTH 252
- #define PROPSHEETHEIGHT 228
- #define PROPSHEETPADDING 6
- Index: dll/cpl/input/settings.c
- ===================================================================
- --- dll/cpl/input/settings.c (revision 54086)
- +++ dll/cpl/input/settings.c (working copy)
- @@ -545,7 +545,7 @@
- _ultot(OldLayoutNum, szLayoutNum, 10);
- if (!GetLayoutID(szLayoutNum, szLayoutID)) return;
- - // if old layout = selected layout
- + // If old layout = selected layout
- if (_tcscmp(szLayoutID, pts) == 0) return;
- if (RegOpenKeyEx(HKEY_CURRENT_USER, _T("Keyboard Layout\\Preload"), 0,
- Index: dll/cpl/intl/currency.c
- ===================================================================
- --- dll/cpl/intl/currency.c (revision 54086)
- +++ dll/cpl/intl/currency.c (working copy)
- @@ -36,14 +36,14 @@
- {
- TCHAR szBuffer[MAX_FMT_SIZE];
- - /* positive example */
- + /* Positive example */
- GetCurrencyFormat(pGlobalData->lcid, 0,
- POSITIVE_EXAMPLE,
- NULL, szBuffer, MAX_FMT_SIZE);
- SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYPOSSAMPLE), WM_SETTEXT, 0, (LPARAM)szBuffer);
- - /* negative example */
- + /* Negative example */
- GetCurrencyFormat(pGlobalData->lcid, 0,
- NEGATIVE_EXAMPLE,
- NULL, szBuffer, MAX_FMT_SIZE);
- @@ -75,7 +75,7 @@
- SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYSYMBOL),
- CB_SETCURSEL,
- - 0, /* index */
- + 0, /* Index */
- 0);
- }
- @@ -251,7 +251,7 @@
- LOCALE_SMONDECIMALSEP,
- szBuffer, MAX_FMT_SIZE);
- - /* decimal separator */
- + /* Decimal separator */
- SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYDECSEP),
- CB_ADDSTRING,
- 0,
- @@ -259,7 +259,7 @@
- SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYDECSEP),
- CB_SETCURSEL,
- - 0, /* index */
- + 0, /* Index */
- 0);
- }
- @@ -321,7 +321,7 @@
- LOCALE_SMONTHOUSANDSEP,
- szBuffer, MAX_FMT_SIZE);
- - /* digit group separator */
- + /* Digit group separator */
- SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYGRPSEP),
- CB_ADDSTRING,
- 0,
- @@ -329,7 +329,7 @@
- SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYGRPSEP),
- CB_SETCURSEL,
- - 0, /* index */
- + 0, /* Index */
- 0);
- }
- @@ -353,7 +353,7 @@
- LOCALE_SMONGROUPING,
- szGrouping, MAX_FMT_SIZE);
- - /* digit grouping */
- + /* Digit grouping */
- cyFmt.NumDigits = 0;
- cyFmt.LeadingZero = 0;
- cyFmt.lpDecimalSep = _T("");
- @@ -400,7 +400,7 @@
- SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYGRPNUM),
- CB_SETCURSEL,
- - i, /* index */
- + i, /* Index */
- 0);
- }
- @@ -462,7 +462,7 @@
- (WPARAM)0,
- (LPARAM)0);
- - /* convert to wide char */
- + /* Convert to wide char */
- _itot(nCurrSel, szCurrencyFracSymNum, DECIMAL_RADIX);
- /* Save number of fractional symbols */
- @@ -504,7 +504,7 @@
- (WPARAM)0,
- (LPARAM)0);
- - /* convert to wide char */
- + /* Convert to wide char */
- _itot(nCurrSel, szNegCurrencySumFmt, DECIMAL_RADIX);
- /* Save currency sum format */
- @@ -526,7 +526,7 @@
- (WPARAM)0,
- (LPARAM)0);
- - /* convert to wide char */
- + /* Convert to wide char */
- _itot(nCurrSel, szPosCurrencySumFmt, DECIMAL_RADIX);
- /* Save currency sum format */
- @@ -630,8 +630,7 @@
- }
- break;
- }
- -
- return FALSE;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/date.c
- ===================================================================
- --- dll/cpl/intl/date.c (revision 54086)
- +++ dll/cpl/intl/date.c (working copy)
- @@ -38,7 +38,7 @@
- /* FUNCTIONS ****************************************************************/
- -/* if char is 'y' or 'M' or 'd' return TRUE, else FALSE */
- +/* If char is 'y' or 'M' or 'd' return TRUE, else FALSE */
- BOOL
- isDateCompAl(TCHAR alpha)
- {
- @@ -173,7 +173,7 @@
- return FALSE;
- }
- - /* substring replacement of separator */
- + /* Substring replacement of separator */
- _tcscpy(szFindedDateSep, FindDateSep(szShortDateFmt));
- pszResultStr = ReplaceSubStr(szShortDateFmt, szShortDateSep, szFindedDateSep);
- _tcscpy(szShortDateFmt, pszResultStr);
- @@ -278,7 +278,7 @@
- -1,
- (LPARAM)szShortDateSep);
- - /* if is not success, add new value to list and select them */
- + /* If it is not successful, add new value to list and select them */
- if (nRetCode == CB_ERR)
- {
- SendMessage(GetDlgItem(hwndDlg, IDC_SHRTDATESEP_COMBO),
- @@ -342,7 +342,7 @@
- -1,
- (LPARAM)szShortDateFmt);
- - /* if is not success, add new value to list and select them */
- + /* If it is not successful, add new value to list and select them */
- if (nRetCode == CB_ERR)
- {
- SendMessage(GetDlgItem(hwndDlg, IDC_SHRTDATEFMT_COMBO),
- @@ -391,7 +391,7 @@
- -1,
- (LPARAM)szLongDateFmt);
- - /* if is not success, add new value to list and select them */
- + /* If it is not successful, add new value to list and select them */
- if (nRetCode == CB_ERR)
- {
- SendMessage(GetDlgItem(hwndDlg, IDC_LONGDATEFMT_COMBO),
- @@ -619,4 +619,4 @@
- return FALSE;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/generalp.c
- ===================================================================
- --- dll/cpl/intl/generalp.c (revision 54086)
- +++ dll/cpl/intl/generalp.c (working copy)
- @@ -176,7 +176,7 @@
- ret = RegOpenKey(HKEY_CURRENT_USER, _T("Control Panel\\International"), &localeKey);
- if (ret != ERROR_SUCCESS)
- {
- - // some serious error
- + // Some serious error
- MessageBox(NULL, _T("Problem opening HKCU\\Control Panel\\International key"),
- _T("Big Problem"), MB_OK);
- return;
- @@ -191,7 +191,7 @@
- ret = RegOpenKey(HKEY_USERS, _T(".DEFAULT\\Control Panel\\International"), &localeKey);
- if (ret != ERROR_SUCCESS)
- {
- - // some serious error
- + // Some serious error
- MessageBox(NULL, _T("Problem opening HKU\\.DEFAULT\\Control Panel\\International key"),
- _T("Big Problem"), MB_OK);
- return;
- @@ -451,5 +451,4 @@
- return FALSE;
- }
- -
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/inplocale.c
- ===================================================================
- --- dll/cpl/intl/inplocale.c (revision 54086)
- +++ dll/cpl/intl/inplocale.c (working copy)
- @@ -41,4 +41,4 @@
- return FALSE;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/intl.c
- ===================================================================
- --- dll/cpl/intl/intl.c (revision 54086)
- +++ dll/cpl/intl/intl.c (working copy)
- @@ -206,5 +206,4 @@
- }
- return TRUE;
- -}
- -
- +}
- \ No newline at end of file
- Index: dll/cpl/intl/intl.h
- ===================================================================
- --- dll/cpl/intl/intl.h (revision 54086)
- +++ dll/cpl/intl/intl.h (working copy)
- @@ -12,7 +12,7 @@
- #define DECIMAL_RADIX 10
- -/* limits */
- +/* Limits */
- #define MAX_FMT_SIZE 30
- #define MAX_STR_SIZE 128
- #define MAX_SAMPLES_STR_SIZE 70
- @@ -110,4 +110,4 @@
- /* kblayouts.c */
- VOID AddNewKbLayoutsByLcid(LCID Lcid);
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/kblayouts.c
- ===================================================================
- --- dll/cpl/intl/kblayouts.c (revision 54086)
- +++ dll/cpl/intl/kblayouts.c (working copy)
- @@ -238,6 +238,5 @@
- }
- }
- }
- -
- SetupCloseInfFile(hIntlInf);
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/intl/languages.c
- ===================================================================
- --- dll/cpl/intl/languages.c (revision 54086)
- +++ dll/cpl/intl/languages.c (working copy)
- @@ -40,8 +40,7 @@
- }
- break;
- }
- -
- return FALSE;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/misc.c
- ===================================================================
- --- dll/cpl/intl/misc.c (revision 54086)
- +++ dll/cpl/intl/misc.c (working copy)
- @@ -52,7 +52,7 @@
- _tcscpy(pszDestStr, szSourceStr);
- - /* if format is clean return source string */
- + /* If format is clean return source string */
- if (!*szFmtStr)
- return pszDestStr;
- @@ -80,12 +80,12 @@
- szFmtVal[nValCount] = _T('\0');
- nValCount=0;
- - /* insert space to finded position plus all pos before */
- + /* Insert space to finded position plus all pos before */
- pszTempStr = InsSpacePos(pszDestStr, nSpaceOffset);
- _tcscpy(pszDestStr,pszTempStr);
- free(pszTempStr);
- - /* num of spaces total increment */
- + /* Num of spaces total increment */
- if (!wasNul)
- {
- nSpaceOffset++;
- @@ -228,4 +228,4 @@
- return (LONG)(ret != -1);
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/numbers.c
- ===================================================================
- --- dll/cpl/intl/numbers.c (revision 54086)
- +++ dll/cpl/intl/numbers.c (working copy)
- @@ -95,7 +95,7 @@
- -1,
- (LPARAM)(LPCSTR)szNumSep);
- - /* if is not success, add new value to list and select them */
- + /* If it is not successful, add new values to list and select them */
- if (nRetCode == CB_ERR)
- {
- SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERDSYMBOL),
- @@ -132,7 +132,7 @@
- /* Create standard list of fractional symbols */
- for (nCBIndex = 0; nCBIndex < MAX_FRAC_NUM_SAMPLES; nCBIndex++)
- {
- - /* convert to wide char */
- + /* Convert to wide char */
- _itot(nCBIndex, szFracCount, DECIMAL_RADIX);
- SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSNDIGDEC),
- @@ -189,7 +189,7 @@
- -1,
- (LPARAM)szFieldSep);
- - /* if is not success, add new value to list and select them */
- + /* If it is not success, add new values to list and select them */
- if (nRetCode == CB_ERR)
- {
- SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSDIGITGRSYM),
- @@ -243,7 +243,7 @@
- -1,
- (LPARAM)pszFieldDigNumSmpl);
- - /* if is not success, add new value to list and select them */
- + /* If it is not successful, add new values to list and select them */
- if (nRetCode == CB_ERR)
- {
- SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSDGROUPING),
- @@ -300,7 +300,7 @@
- -1,
- (LPARAM)szNegSign);
- - /* if is not success, add new value to list and select them */
- + /* If it is not successful, add new values to list and select them */
- if (nRetCode == CB_ERR)
- {
- SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSNSIGNSYM),
- @@ -464,7 +464,7 @@
- -1,
- (LPARAM)szListSep);
- - /* if is not success, add new value to list and select them */
- + /* If it is not successful, add new values to list and select them */
- if (nRetCode == CB_ERR)
- {
- SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSLSEP),
- @@ -584,7 +584,7 @@
- (WPARAM)0,
- (LPARAM)0);
- - /* convert to wide char */
- + /* Convert to wide char */
- _itot(nCurrSel, szFracSymNum, DECIMAL_RADIX);
- /* Save number of fractional symbols */
- @@ -687,7 +687,7 @@
- (WPARAM)0,
- (LPARAM)0);
- - /* convert to wide char */
- + /* Convert to wide char */
- _itot(nCurrSel, szLeadZero, DECIMAL_RADIX);
- /* Save leading zero format */
- @@ -825,4 +825,4 @@
- return FALSE;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/resource.h
- ===================================================================
- --- dll/cpl/intl/resource.h (revision 54086)
- +++ dll/cpl/intl/resource.h (working copy)
- @@ -77,4 +77,4 @@
- #define IDS_METRIC 1004
- #define IDS_IMPERIAL 1005
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/setupreg.c
- ===================================================================
- --- dll/cpl/intl/setupreg.c (revision 54086)
- +++ dll/cpl/intl/setupreg.c (working copy)
- @@ -65,7 +65,7 @@
- _tcscpy(pszDestStr, szSourceStr);
- - /* if format is clean return source string */
- + /* If format is clean return source string */
- if (!*szFmtStr)
- return pszDestStr;
- @@ -93,12 +93,12 @@
- szFmtVal[nValCount] = _T('\0');
- nValCount=0;
- - /* insert space to finded position plus all pos before */
- + /* Insert space to finded position plus all pos before */
- pszTempStr = InsSpacePos(pszDestStr, nSpaceOffset);
- _tcscpy(pszDestStr, pszTempStr);
- free(pszTempStr);
- - /* num of spaces total increment */
- + /* Num of spaces total increment */
- if (!wasNul)
- {
- nSpaceOffset++;
- @@ -228,4 +228,4 @@
- return (LONG)(PropertySheet(&psh) != -1);
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/sort.c
- ===================================================================
- --- dll/cpl/intl/sort.c (revision 54086)
- +++ dll/cpl/intl/sort.c (working copy)
- @@ -208,4 +208,4 @@
- return FALSE;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/intl/time.c
- ===================================================================
- --- dll/cpl/intl/time.c (revision 54086)
- +++ dll/cpl/intl/time.c (working copy)
- @@ -54,26 +54,26 @@
- int nIndex;
- HWND hChildWnd;
- - /* get handle to time format control */
- + /* Get handle to time format control */
- hChildWnd = GetDlgItem(hwndDlg, dwIdc);
- /* Get index to selected time format */
- nIndex = SendMessage(hChildWnd, CB_GETCURSEL, 0, 0);
- if (nIndex == CB_ERR)
- - /* no selection? get content of the edit control */
- + /* No selection? Get content of the edit control */
- SendMessage(hChildWnd, WM_GETTEXT, uSize, (LPARAM)Buffer);
- else {
- LPTSTR tmp;
- UINT uReqSize;
- - /* get requested size, including the null terminator;
- + /* Get requested size, including the null terminator;
- * it shouldn't be required because the previous CB_LIMITTEXT,
- * but it would be better to check it anyways */
- uReqSize = SendMessage(hChildWnd, CB_GETLBTEXTLEN, (WPARAM)nIndex, 0) + 1;
- - /* allocate enough space to be more safe */
- + /* Allocate enough space to be more safe */
- tmp = (LPTSTR)_alloca(uReqSize*sizeof(TCHAR));
- - /* get selected time format text */
- + /* Get selected time format text */
- SendMessage(hChildWnd, CB_GETLBTEXT, (WPARAM)nIndex, (LPARAM)tmp);
- - /* finally, copy the result into the output */
- + /* Finally, copy the result into the output */
- _tcsncpy(Buffer, tmp, uSize);
- }
- }
- @@ -126,7 +126,7 @@
- (LPARAM)Buffer);
- SendMessage(GetDlgItem(hwndDlg, IDC_TIMESEPARATOR),
- CB_SETCURSEL,
- - 0, /* index */
- + 0, /* Index */
- 0);
- /* Get the AM symbol */
- @@ -146,7 +146,7 @@
- }
- SendMessage(GetDlgItem(hwndDlg, IDC_TIMEAMSYMBOL),
- CB_SETCURSEL,
- - 0, /* index */
- + 0, /* Index */
- 0);
- /* Get the PM symbol */
- @@ -166,7 +166,7 @@
- }
- SendMessage(GetDlgItem(hwndDlg, IDC_TIMEPMSYMBOL),
- CB_SETCURSEL,
- - 0, /* index */
- + 0, /* Index */
- 0);
- }
- break;
- @@ -195,25 +195,25 @@
- {
- TCHAR Buffer[80];
- - /* get selected/typed time format text */
- + /* Get selected/typed time format text */
- GetSelectedComboEntry(hwndDlg, IDC_TIMEFORMAT, Buffer, sizeof(Buffer)/sizeof(TCHAR));
- /* Set time format */
- SetLocaleInfo(pGlobalData->lcid, LOCALE_STIMEFORMAT, Buffer);
- - /* get selected/typed time separator text */
- + /* Get selected/typed time separator text */
- GetSelectedComboEntry(hwndDlg, IDC_TIMESEPARATOR, Buffer, sizeof(Buffer)/sizeof(TCHAR));
- /* Set time separator */
- SetLocaleInfo(pGlobalData->lcid, LOCALE_STIME, Buffer);
- - /* get selected/typed AM symbol text */
- + /* Get selected/typed AM symbol text */
- GetSelectedComboEntry(hwndDlg, IDC_TIMEAMSYMBOL, Buffer, sizeof(Buffer)/sizeof(TCHAR));
- /* Set the AM symbol */
- SetLocaleInfo(pGlobalData->lcid, LOCALE_S1159, Buffer);
- - /* get selected/typed PM symbol text */
- + /* Get selected/typed PM symbol text */
- GetSelectedComboEntry(hwndDlg, IDC_TIMEPMSYMBOL, Buffer, sizeof(Buffer)/sizeof(TCHAR));
- /* Set the PM symbol */
- @@ -229,4 +229,4 @@
- return FALSE;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/joy/joy.c
- ===================================================================
- --- dll/cpl/joy/joy.c (revision 54086)
- +++ dll/cpl/joy/joy.c (working copy)
- @@ -103,7 +103,7 @@
- switch (LOWORD(wParam))
- {
- case SC_CONTEXTHELP:
- - // not implemented
- + // Not implemented yet
- break;
- }
- break;
- @@ -141,7 +141,7 @@
- switch (LOWORD(wParam))
- {
- case SC_CONTEXTHELP:
- - // not implemented
- + // Not implemented yet
- break;
- }
- break;
- @@ -186,7 +186,7 @@
- switch (LOWORD(wParam))
- {
- case SC_CONTEXTHELP:
- - // not implemented
- + // Not implemented yet
- break;
- }
- break;
- @@ -240,7 +240,7 @@
- break;
- case SC_CONTEXTHELP:
- - // not implemented
- + // Not implemented yet
- break;
- }
- break;
- @@ -312,4 +312,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/joy/joy.h
- ===================================================================
- --- dll/cpl/joy/joy.h (revision 54086)
- +++ dll/cpl/joy/joy.h (working copy)
- @@ -34,4 +34,4 @@
- void ShowLastWin32Error(HWND hWndOwner);
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/joy/resource.h
- ===================================================================
- --- dll/cpl/joy/resource.h (revision 54086)
- +++ dll/cpl/joy/resource.h (working copy)
- @@ -1,21 +1,21 @@
- #pragma once
- -/* icons */
- +/* Icons */
- #define IDI_CPLSYSTEM 102
- -/* dialogs */
- +/* Dialogs */
- #define IDD_PROPPAGEMAIN 101
- #define IDD_ADD 119
- #define IDD_CUSTOM 4099
- #define IDD_ADVANCED 8188
- -/* strings */
- +/* Strings */
- #define IDS_CPLSYSTEMNAME 1076
- #define IDS_CPLSYSTEMDESCRIPTION 1099
- #define IDS_CONTROLLER 1151
- #define IDS_STATUS 1152
- -/* controls */
- +/* Controls */
- #define IDC_CONTROLLER_LIST 1020
- #define IDC_ADD_BUTTON 1011
- #define IDC_REMOVE_BUTTON 1028
- @@ -38,4 +38,4 @@
- #define IDC_CONTROLLER_NAME_EDIT 1056
- #define IDC_PREFERRED_DEV_COMBO 8195
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/liccpa/liccpa.c
- ===================================================================
- --- dll/cpl/liccpa/liccpa.c (revision 54086)
- +++ dll/cpl/liccpa/liccpa.c (working copy)
- @@ -113,4 +113,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/liccpa/liccpa.h
- ===================================================================
- --- dll/cpl/liccpa/liccpa.h (revision 54086)
- +++ dll/cpl/liccpa/liccpa.h (working copy)
- @@ -10,4 +10,4 @@
- extern HINSTANCE hApplet;
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/liccpa/resource.h
- ===================================================================
- --- dll/cpl/liccpa/resource.h (revision 54086)
- +++ dll/cpl/liccpa/resource.h (working copy)
- @@ -12,4 +12,4 @@
- #define IDC_OK 107
- #define IDC_CANCEL 108
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/main/keyboard.c
- ===================================================================
- --- dll/cpl/main/keyboard.c (revision 54086)
- +++ dll/cpl/main/keyboard.c (working copy)
- @@ -329,4 +329,4 @@
- return ret;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/main/main.c
- ===================================================================
- --- dll/cpl/main/main.c (revision 54086)
- +++ dll/cpl/main/main.c (working copy)
- @@ -140,5 +140,4 @@
- }
- return TRUE;
- -}
- -
- +}
- \ No newline at end of file
- Index: dll/cpl/main/main.h
- ===================================================================
- --- dll/cpl/main/main.h (revision 54086)
- +++ dll/cpl/main/main.h (working copy)
- @@ -60,4 +60,4 @@
- LONG APIENTRY
- MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/main/mouse.c
- ===================================================================
- --- dll/cpl/main/mouse.c (revision 54086)
- +++ dll/cpl/main/mouse.c (working copy)
- @@ -26,7 +26,7 @@
- */
- //TODO:
- -// add missing icons
- +// Add missing icons
- #include "main.h"
- @@ -399,7 +399,7 @@
- case TB_ENDTRACK:
- lResult = SendDlgItemMessage(hwndDlg, IDC_SLIDER_DOUBLE_CLICK_SPEED, TBM_GETPOS, 0, 0);
- pButtonData->g_DoubleClickSpeed = (14 - (INT)lResult) * 50 + 200;
- - //SystemParametersInfo(SPI_SETDOUBLECLICKTIME, pButtonData->g_DoubleClickSpeed, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
- + //SystemParametersInfo(SPI_SETDOUBLECLICKTIME, pButtonData->g_DoubleClickSpeed, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
- SetDoubleClickTime(pButtonData->g_DoubleClickSpeed);
- PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
- break;
- @@ -1001,12 +1001,12 @@
- SendDlgItemMessage(hwndDlg, IDC_COMBO_CURSOR_SCHEME, CB_GETLBTEXT, nSel, (LPARAM)buffer);
- LoadString(hApplet, IDS_SYSTEM_SCHEME, szSystemScheme, MAX_PATH);
- - if (_tcsstr(buffer, szSystemScheme) || nSel == 0) //avoid the default scheme can be deleted
- + if (_tcsstr(buffer, szSystemScheme) || nSel == 0) // Avoid the default scheme - Can be deleted
- bEnable = FALSE;
- else
- bEnable = TRUE;
- - /* delete button */
- + /* Delete button */
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_BUTTON_DELETE_SCHEME);
- EnableWindow(hDlgCtrl, bEnable);
- @@ -1397,19 +1397,19 @@
- pOptionData->OrigMouseAccel.nThreshold1 = pOptionData->MouseAccel.nThreshold1;
- pOptionData->OrigMouseAccel.nThreshold2 = pOptionData->MouseAccel.nThreshold2;
- - /* snap to default button */
- + /* Snap to default button */
- SystemParametersInfo(SPI_GETSNAPTODEFBUTTON, 0, &pOptionData->bSnapToDefaultButton, 0);
- pOptionData->bOrigSnapToDefaultButton = pOptionData->bSnapToDefaultButton;
- - /* mouse trails */
- + /* Mouse trails */
- SystemParametersInfo(SPI_GETMOUSETRAILS, 0, &pOptionData->uMouseTrails, 0);
- pOptionData->uOrigMouseTrails = pOptionData->uMouseTrails;
- - /* hide pointer while typing */
- + /* Hide pointer while typing */
- SystemParametersInfo(SPI_GETMOUSEVANISH, 0, &pOptionData->bMouseVanish, 0);
- pOptionData->bOrigMouseVanish = pOptionData->bMouseVanish;
- - /* show pointer with Ctrl-Key */
- + /* Show pointer with Ctrl-Key */
- SystemParametersInfo(SPI_GETMOUSESONAR, 0, &pOptionData->bMouseSonar, 0);
- pOptionData->bOrigMouseSonar = pOptionData->bMouseSonar;
- @@ -1430,7 +1430,7 @@
- SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0);
- }
- - /* set mouse trail */
- + /* Set mouse trail */
- hDlgCtrl = GetDlgItem(hwndDlg, IDC_SLIDER_POINTER_TRAIL);
- SendMessage(hDlgCtrl, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(0, 5));
- if (pOptionData->uMouseTrails < 2)
- @@ -1572,7 +1572,7 @@
- }
- - /* set snap to default button */
- + /* Set snap to default button */
- if (pOptionData->bOrigSnapToDefaultButton != pOptionData->bSnapToDefaultButton)
- {
- SystemParametersInfo(SPI_SETSNAPTODEFBUTTON, (UINT)pOptionData->bSnapToDefaultButton, 0, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
- @@ -1586,14 +1586,14 @@
- pOptionData->uOrigMouseTrails = pOptionData->uMouseTrails;
- }
- - /* hide pointer while typing */
- + /* Hide pointer while typing */
- if (pOptionData->bOrigMouseVanish != pOptionData->bMouseVanish)
- {
- SystemParametersInfo(SPI_SETMOUSEVANISH, 0, IntToPtr(pOptionData->bMouseVanish), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
- pOptionData->bOrigMouseVanish = pOptionData->bMouseVanish;
- }
- - /* show pointer with Ctrl-Key */
- + /* Show pointer with Ctrl-Key */
- if (pOptionData->bOrigMouseSonar != pOptionData->bMouseSonar)
- {
- SystemParametersInfo(SPI_SETMOUSESONAR, 0, IntToPtr(pOptionData->bMouseSonar), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
- @@ -1848,4 +1848,4 @@
- return ret;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/main/resource.h
- ===================================================================
- --- dll/cpl/main/resource.h (revision 54086)
- +++ dll/cpl/main/resource.h (working copy)
- @@ -104,4 +104,4 @@
- #define IDC_TEXT_TRAIL_SHORT 2057
- #define IDC_TEXT_TRAIL_LONG 2058
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/mmsys/audio.c
- ===================================================================
- --- dll/cpl/mmsys/audio.c (revision 54086)
- +++ dll/cpl/mmsys/audio.c (working copy)
- @@ -259,4 +259,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/mmsys/mmsys.c
- ===================================================================
- --- dll/cpl/mmsys/mmsys.c (revision 54086)
- +++ dll/cpl/mmsys/mmsys.c (working copy)
- @@ -404,7 +404,7 @@
- hService = OpenService(hSCManager, L"RosAudioSrv", SERVICE_ALL_ACCESS);
- if (hService)
- {
- - /* make RosAudioSrv start automatically */
- + /* Make RosAudioSrv start automatically */
- ChangeServiceConfig(hService, SERVICE_NO_CHANGE, SERVICE_AUTO_START, SERVICE_NO_CHANGE, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
- StartService(hService, 0, NULL);
- @@ -439,7 +439,7 @@
- if (!wcsicmp(Buffer, szBuffer))
- {
- - /* an entry already exists */
- + /* An entry already exists */
- break;
- }
- }
- @@ -525,7 +525,7 @@
- Guids[0] = GUID_DEVCLASS_CDROM;
- Guids[1] = GUID_DEVCLASS_MEDIA;
- - /* create the hardware page */
- + /* Create the hardware page */
- DeviceCreateHardwarePageEx(hwndDlg,
- Guids,
- sizeof(Guids) / sizeof(Guids[0]),
- @@ -647,4 +647,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/mmsys/mmsys.h
- ===================================================================
- --- dll/cpl/mmsys/mmsys.h (revision 54086)
- +++ dll/cpl/mmsys/mmsys.h (working copy)
- @@ -75,4 +75,4 @@
- WPARAM wParam,
- LPARAM lParam);
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/mmsys/resource.h
- ===================================================================
- --- dll/cpl/mmsys/resource.h (revision 54086)
- +++ dll/cpl/mmsys/resource.h (working copy)
- @@ -76,4 +76,4 @@
- #define IDS_NO_SOUND 1002
- #define IDS_NO_DEVICES 1003
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/mmsys/sounds.c
- ===================================================================
- --- dll/cpl/mmsys/sounds.c (revision 54086)
- +++ dll/cpl/mmsys/sounds.c (working copy)
- @@ -97,6 +97,7 @@
- return pMap;
- }
- +
- VOID RemoveLabel(PLABEL_MAP pMap)
- {
- PLABEL_MAP pCurMap = s_Map;
- @@ -120,10 +121,6 @@
- }
- -
- -
- -
- -
- PAPP_MAP FindApp(TCHAR * szName)
- {
- PAPP_MAP pMap = s_App;
- @@ -139,6 +136,7 @@
- return NULL;
- }
- +
- PLABEL_CONTEXT FindLabelContext(PSOUND_SCHEME_CONTEXT pSoundScheme, TCHAR * AppName, TCHAR * LabelName)
- {
- PLABEL_CONTEXT pLabelContext;
- @@ -172,6 +170,7 @@
- return pLabelContext;
- }
- +
- BOOL
- LoadEventLabel(HKEY hKey, TCHAR * szSubKey)
- {
- @@ -237,6 +236,7 @@
- return TRUE;
- }
- +
- BOOL
- LoadEventLabels()
- {
- @@ -284,6 +284,7 @@
- return (dwCount != 0);
- }
- +
- BOOL
- AddSoundProfile(HWND hwndDlg, HKEY hKey, TCHAR * szSubKey, BOOL SetDefault)
- {
- @@ -331,6 +332,7 @@
- return FALSE;
- }
- +
- DWORD
- EnumerateSoundProfiles(HWND hwndDlg, HKEY hKey)
- {
- @@ -389,6 +391,7 @@
- return dwNumSchemes;
- }
- +
- PSOUND_SCHEME_CONTEXT FindSoundProfile(HWND hwndDlg, TCHAR * szName)
- {
- LRESULT lCount, lIndex, lResult;
- @@ -416,6 +419,8 @@
- }
- return NULL;
- }
- +
- +
- BOOL
- ImportSoundLabel(HWND hwndDlg, HKEY hKey, TCHAR * szProfile, TCHAR * szLabelName, TCHAR * szAppName, PAPP_MAP AppMap, PLABEL_MAP LabelMap)
- {
- @@ -541,7 +546,6 @@
- }
- -
- DWORD
- ImportAppProfile(HWND hwndDlg, HKEY hKey, TCHAR * szAppName)
- {
- @@ -631,6 +635,7 @@
- return dwNumEntry;
- }
- +
- BOOL
- ImportSoundProfiles(HWND hwndDlg, HKEY hKey)
- {
- @@ -673,7 +678,6 @@
- }
- -
- BOOL
- LoadSoundProfiles(HWND hwndDlg)
- {
- @@ -700,6 +704,8 @@
- RegCloseKey(hSubKey);
- return FALSE;
- }
- +
- +
- BOOL
- LoadSoundFiles(HWND hwndDlg)
- {
- @@ -764,7 +770,6 @@
- }
- -
- BOOL
- ShowSoundScheme(HWND hwndDlg)
- {
- @@ -825,6 +830,7 @@
- return TRUE;
- }
- +
- BOOL
- ApplyChanges(HWND hwndDlg)
- {
- @@ -1002,7 +1008,7 @@
- {
- PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
- ///
- - /// should store in current member
- + /// Should store in current member
- ///
- _tcscpy(pLabelContext->szValue, (TCHAR*)lResult);
- }
- @@ -1104,4 +1110,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/mmsys/voice.c
- ===================================================================
- --- dll/cpl/mmsys/voice.c (revision 54086)
- +++ dll/cpl/mmsys/voice.c (working copy)
- @@ -42,4 +42,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/mmsys/volume.c
- ===================================================================
- --- dll/cpl/mmsys/volume.c (revision 54086)
- +++ dll/cpl/mmsys/volume.c (working copy)
- @@ -60,6 +60,7 @@
- }
- }
- +
- VOID
- GetMuteControl(PGLOBAL_DATA pGlobalData)
- {
- @@ -89,6 +90,7 @@
- pGlobalData->muteControlID = mxc.dwControlID;
- }
- +
- VOID
- GetMuteState(PGLOBAL_DATA pGlobalData)
- {
- @@ -112,6 +114,7 @@
- pGlobalData->muteVal = mxcdMute.fValue;
- }
- +
- VOID
- SwitchMuteState(PGLOBAL_DATA pGlobalData)
- {
- @@ -133,6 +136,7 @@
- pGlobalData->muteVal = mxcdMute.fValue;
- }
- +
- VOID
- GetVolumeControl(PGLOBAL_DATA pGlobalData)
- {
- @@ -164,6 +168,7 @@
- pGlobalData->volumeControlID = mxc.dwControlID;
- }
- +
- VOID
- GetVolumeValue(PGLOBAL_DATA pGlobalData)
- {
- @@ -187,6 +192,7 @@
- pGlobalData->volumeValue = mxcdVolume.dwValue;
- }
- +
- VOID
- SetVolumeValue(PGLOBAL_DATA pGlobalData){
- MIXERCONTROLDETAILS_UNSIGNED mxcdVolume;
- @@ -269,6 +275,7 @@
- SendDlgItemMessage(hwndDlg, IDC_VOLUME_TRACKBAR, TBM_SETPOS, (WPARAM)TRUE, (LPARAM)pGlobalData->volumeValue/VOLUME_DIVIDER);
- }
- +
- VOID
- LaunchSoundControl(HWND hwndDlg)
- {
- @@ -340,7 +347,7 @@
- HDC hdcMem;
- LONG left;
- - /* position image in centre of dialog */
- + /* Position image in centre of dialog */
- left = (lpDrawItem->rcItem.right - ImgInfo.cxSource) / 2;
- hdcMem = CreateCompatibleDC(lpDrawItem->hDC);
- @@ -408,4 +415,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/ncpa/ncpa.c
- ===================================================================
- --- dll/cpl/ncpa/ncpa.c (revision 54086)
- +++ dll/cpl/ncpa/ncpa.c (working copy)
- @@ -19,8 +19,8 @@
- DisplayApplet(VOID)
- {
- WCHAR szParameters[160];
- - //FIXME
- - // use correct path
- + //FIXME:
- + // Use correct path
- //::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
- wcscpy(szParameters, L"/n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}");
- @@ -68,4 +68,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/odbccp32/odbccp32.c
- ===================================================================
- --- dll/cpl/odbccp32/odbccp32.c (revision 54086)
- +++ dll/cpl/odbccp32/odbccp32.c (working copy)
- @@ -76,5 +76,4 @@
- }
- return TRUE;
- -}
- -
- +}
- \ No newline at end of file
- Index: dll/cpl/odbccp32/odbccp32.h
- ===================================================================
- --- dll/cpl/odbccp32/odbccp32.h (revision 54086)
- +++ dll/cpl/odbccp32/odbccp32.h (working copy)
- @@ -6,4 +6,4 @@
- #include <tchar.h>
- extern HINSTANCE hApplet;
- -extern HMODULE hLibrary;
- +extern HMODULE hLibrary;
- \ No newline at end of file
- Index: dll/cpl/powercfg/advanced.c
- ===================================================================
- --- dll/cpl/powercfg/advanced.c (revision 54086)
- +++ dll/cpl/powercfg/advanced.c (working copy)
- @@ -180,8 +180,6 @@
- }
- -
- -
- //-------------------------------------------------------------------
- VOID
- @@ -394,7 +392,6 @@
- }
- }
- -
- static VOID
- Adv_SaveData(HWND hwndDlg)
- {
- @@ -527,4 +524,4 @@
- }
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/powercfg/alarms.c
- ===================================================================
- --- dll/cpl/powercfg/alarms.c (revision 54086)
- +++ dll/cpl/powercfg/alarms.c (working copy)
- @@ -177,12 +177,12 @@
- case WM_INITDIALOG:
- if (!Ala_InitData(hwndDlg))
- {
- - //TODO
- - //handle initialization error
- + //TODO:
- + //Handle initialization error
- }
- return TRUE;
- default:
- break;
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/powercfg/hibernate.c
- ===================================================================
- --- dll/cpl/powercfg/hibernate.c (revision 54086)
- +++ dll/cpl/powercfg/hibernate.c (working copy)
- @@ -38,7 +38,7 @@
- msex.dwLength = sizeof(msex);
- if (!GlobalMemoryStatusEx(&msex))
- {
- - return; //FIXME
- + return; //FIXME:
- }
- if (GetWindowsDirectory(szTemp,MAX_PATH))
- @@ -149,4 +149,4 @@
- }
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/powercfg/powercfg.c
- ===================================================================
- --- dll/cpl/powercfg/powercfg.c (revision 54086)
- +++ dll/cpl/powercfg/powercfg.c (working copy)
- @@ -171,6 +171,4 @@
- break;
- }
- return TRUE;
- -}
- -
- -
- +}
- \ No newline at end of file
- Index: dll/cpl/powercfg/powercfg.h
- ===================================================================
- --- dll/cpl/powercfg/powercfg.h (revision 54086)
- +++ dll/cpl/powercfg/powercfg.h (working copy)
- @@ -32,4 +32,4 @@
- INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
- INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/powercfg/powershemes.c
- ===================================================================
- --- dll/cpl/powercfg/powershemes.c (revision 54086)
- +++ dll/cpl/powercfg/powershemes.c (working copy)
- @@ -252,8 +252,8 @@
- {
- if (guiIndex >= MAX_POWER_POLICY)
- {
- - //FIXME
- - //implement store power policy dynamically
- + //FIXME:
- + //Implement store power policy dynamically
- return FALSE;
- }
- @@ -521,8 +521,8 @@
- if (CanUserWritePwrScheme())
- {
- - //TODO
- - // enable write / delete powerscheme button
- + //TODO:
- + // Enable write / delete powerscheme button
- }
- Pos_InitPage(GetParent(hwnd));
- @@ -558,17 +558,17 @@
- hwndDialog = hwndDlg;
- if (!Pos_InitData())
- {
- - //TODO
- - // initialization failed
- - // handle error
- + //TODO:
- + // Initialization failed
- + // Handle error
- MessageBox(hwndDlg,_T("Pos_InitData failed\n"), NULL, MB_OK);
- }
- if (!CreateEnergyList(GetDlgItem(hwndDlg, IDC_ENERGYLIST)))
- {
- - //TODO
- - // initialization failed
- - // handle error
- + //TODO:
- + // Initialization failed
- + // Handle error
- MessageBox(hwndDlg,_T("CreateEnergyList failed\n"), NULL, MB_OK);
- }
- return TRUE;
- @@ -619,4 +619,4 @@
- break;
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/powercfg/resource.h
- ===================================================================
- --- dll/cpl/powercfg/resource.h (revision 54086)
- +++ dll/cpl/powercfg/resource.h (working copy)
- @@ -1,6 +1,6 @@
- #pragma once
- -/* metrics */
- +/* Metrics */
- #define PROPSHEETWIDTH 246
- #define PROPSHEETHEIGHT 228
- #define PROPSHEETPADDING 6
- @@ -115,12 +115,12 @@
- #define IDC_DELETE_BTN 504
- #define IDC_SAVEAS_BTN 505
- -#define IDS_ALPERTLOWENERGY 715
- -#define IDS_ALPERTCRITICLEENERGY 716
- -#define IDS_CRITCLENERGY 717
- -#define IDS_LOWENERGY 718
- -#define IDS_UNKNOWN 719
- +#define IDS_ALPERTLOWENERGY 715
- +#define IDS_ALPERTCRITICLEENERGY 716
- +#define IDS_CRITCLENERGY 717
- +#define IDS_LOWENERGY 718
- +#define IDS_UNKNOWN 719
- #define IDS_CPLDESCRIPTION_1 901
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/sysdm/advanced.c
- ===================================================================
- --- dll/cpl/sysdm/advanced.c (revision 54086)
- +++ dll/cpl/sysdm/advanced.c (working copy)
- @@ -180,4 +180,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/sysdm/environment.c
- ===================================================================
- --- dll/cpl/sysdm/environment.c (revision 54086)
- +++ dll/cpl/sysdm/environment.c (working copy)
- @@ -536,9 +536,9 @@
- /* Get the handle to the list box with all system vars in it */
- hwndListView = GetDlgItem(hwndDlg, iDlgItem);
- - /* first item is 0 */
- + /* First item is 0 */
- iItem = 0;
- - /* set up struct to retreive item */
- + /* Set up struct to retreive item */
- lvi.mask = LVIF_PARAM;
- lvi.iItem = iItem;
- @@ -746,4 +746,4 @@
- return FALSE;
- }
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/sysdm/general.c
- ===================================================================
- --- dll/cpl/sysdm/general.c (revision 54086)
- +++ dll/cpl/sysdm/general.c (working copy)
- @@ -91,9 +91,9 @@
- {
- if (timerid == 0)
- {
- - top = 0; // set top
- + top = 0; // Set top
- - // build new bitmap
- + // Build new bitmap
- GetObject(pImgInfo->hBitmap, sizeof(BITMAP), &bitmap);
- dc = CreateCompatibleDC(GetDC(NULL));
- if (dc == NULL)
- @@ -176,7 +176,7 @@
- }
- GetClientRect(hwnd,&PS.rcPaint);
- - /* position image in center of dialog */
- + /* Position image in center of dialog */
- left = (PS.rcPaint.right - pImgInfo->cxSource) / 2;
- hdcMem = CreateCompatibleDC(hdc);
- @@ -547,7 +547,7 @@
- HDC hdcMem;
- LONG left;
- - /* position image in centre of dialog */
- + /* Position image in centre of dialog */
- left = (lpDrawItem->rcItem.right - pImgInfo->cxSource) / 2;
- hdcMem = CreateCompatibleDC(lpDrawItem->hDC);
- @@ -590,4 +590,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/sysdm/hardprof.c
- ===================================================================
- --- dll/cpl/sysdm/hardprof.c (revision 54086)
- +++ dll/cpl/sysdm/hardprof.c (working copy)
- @@ -82,4 +82,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/sysdm/hardware.c
- ===================================================================
- --- dll/cpl/sysdm/hardware.c (revision 54086)
- +++ dll/cpl/sysdm/hardware.c (working copy)
- @@ -15,7 +15,7 @@
- static BOOL
- LaunchDeviceManager(HWND hWndParent)
- {
- -/* hack for ROS to start our devmgmt until we have mmc */
- +/* Hack for ROS to start our devmgmt until we have mmc */
- #ifdef __REACTOS__
- return ((INT_PTR)ShellExecuteW(NULL, L"open", L"devmgmt.exe", NULL, NULL, SW_SHOWNORMAL) > 32);
- #else
- @@ -34,7 +34,7 @@
- return FALSE;
- }
- - /* run the Device Manager */
- + /* Run the Device Manager */
- Ret = DevMgrExec(hWndParent, hApplet, NULL /* ??? */, SW_SHOW);
- FreeLibrary(hDll);
- return Ret;
- @@ -102,4 +102,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/sysdm/licence.c
- ===================================================================
- --- dll/cpl/sysdm/licence.c (revision 54086)
- +++ dll/cpl/sysdm/licence.c (working copy)
- @@ -34,7 +34,7 @@
- ICON_SMALL,
- (LPARAM)pLicInfo->hIcon);
- - /* load license from resource */
- + /* Load license from resource */
- if (!(hResInfo = FindResource(hApplet,
- MAKEINTRESOURCE(RC_LICENSE),
- MAKEINTRESOURCE(RTDATA))) ||
- @@ -45,7 +45,7 @@
- return FALSE;
- }
- - /* insert the license into the edit control (unicode!) */
- + /* Insert the license into the edit control (unicode!) */
- SetDlgItemText(hDlg,
- IDC_LICENCEEDIT,
- LicenseText);
- @@ -102,4 +102,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/sysdm/precomp.h
- ===================================================================
- --- dll/cpl/sysdm/precomp.h (revision 54086)
- +++ dll/cpl/sysdm/precomp.h (working copy)
- @@ -34,12 +34,12 @@
- void ShowLastWin32Error(HWND hWndOwner);
- -/* prop sheet pages */
- +/* Prop sheet pages */
- INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
- INT_PTR CALLBACK HardwarePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
- INT_PTR CALLBACK AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
- -/* dialogs */
- +/* Dialogs */
- INT_PTR CALLBACK HardProfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
- INT_PTR CALLBACK UserProfileDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
- INT_PTR CALLBACK EnvironmentDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
- Index: dll/cpl/sysdm/resource.h
- ===================================================================
- --- dll/cpl/sysdm/resource.h (revision 54086)
- +++ dll/cpl/sysdm/resource.h (working copy)
- @@ -38,7 +38,7 @@
- #define IDS_WARNINITIALRANGE 80
- #define IDS_WARNMAXIMUMRANGE 81
- -/* propsheet - general */
- +/* Propsheet - general */
- #define IDD_PROPPAGEGENERAL 100
- #define IDC_MACHINELINE1 101
- #define IDC_MACHINELINE2 102
- @@ -50,7 +50,7 @@
- #define IDC_ROSHOMEPAGE_LINK 108
- -/* propsheet - hardware */
- +/* Propsheet - hardware */
- #define IDD_PROPPAGEHARDWARE 300
- #define IDC_HARDWARE_WIZARD 207
- #define IDC_HARDWARE_PROFILE 209
- @@ -58,7 +58,7 @@
- #define IDC_HARDWARE_DEVICE_MANAGER 211
- -/* propsheet - advanced */
- +/* Propsheet - advanced */
- #define IDD_PROPPAGEADVANCED 400
- #define IDC_SYSSETTINGS 401
- #define IDC_ENVVAR 402
- @@ -67,11 +67,11 @@
- #define IDC_USERPROFILE 405
- #define IDC_ERRORREPORT 406
- -/* system settings */
- +/* System settings */
- #define IDD_SYSSETTINGS 800
- #define IDC_REPORTASWORKSTATION 801
- -/* user profiles */
- +/* User profiles */
- #define IDD_USERPROFILE 500
- #define IDC_USERPROFILE_LIST 501
- #define IDC_USERPROFILE_CHANGE 503
- @@ -80,7 +80,7 @@
- #define IDC_USERACCOUNT_LINK 506
- -/* environment variables */
- +/* Environment variables */
- #define IDD_ENVIRONMENT_VARIABLES 600
- #define IDC_USER_VARIABLE_LIST 601
- #define IDC_USER_VARIABLE_NEW 602
- @@ -92,7 +92,7 @@
- #define IDC_SYSTEM_VARIABLE_DELETE 608
- -/* edit environment variables */
- +/* Edit environment variables */
- #define IDD_EDIT_VARIABLE 700
- #define IDC_VARIABLE_NAME 701
- #define IDC_VARIABLE_VALUE 702
- @@ -116,7 +116,7 @@
- #define IDC_CURRENT 914
- -/* startup and recovery */
- +/* Startup and recovery */
- #define IDD_STARTUPRECOVERY 1000
- #define IDC_STRECOSCOMBO 1001
- #define IDC_STRECLIST 1002
- @@ -134,7 +134,7 @@
- #define IDC_STRRECOVERWRITE 1014
- -/* hardware profiles */
- +/* Hardware profiles */
- #define IDD_HARDWAREPROFILES 1100
- #define IDC_HRDPROFLSTBOX 1102
- #define IDC_HRDPROFUP 1103
- @@ -149,15 +149,15 @@
- #define IDC_HRDPROFUPDWN 1112
- -/* rename profile */
- +/* Rename profile */
- #define IDD_RENAMEPROFILE 1200
- #define IDC_RENPROFEDITFROM 1201
- #define IDC_RENPROFEDITTO 1202
- -/* licence */
- +/* Licence */
- #define IDD_LICENCE 1500
- #define IDC_LICENCEEDIT 1501
- #define RC_LICENSE 1502
- #define RTDATA 1503
- -#define IDS_DEVS 2000
- +#define IDS_DEVS 2000
- \ No newline at end of file
- Index: dll/cpl/sysdm/startrec.c
- ===================================================================
- --- dll/cpl/sysdm/startrec.c (revision 54086)
- +++ dll/cpl/sysdm/startrec.c (working copy)
- @@ -60,7 +60,7 @@
- {
- DWORD dwBufSize;
- - /* get Path to freeldr.ini or boot.ini */
- + /* Get Path to freeldr.ini or boot.ini */
- *szSystemDrive = HeapAlloc(GetProcessHeap(), 0, MAX_PATH * sizeof(WCHAR));
- if (*szSystemDrive != NULL)
- {
- @@ -108,7 +108,7 @@
- NULL,
- &InfContext))
- {
- - /* failed to find section */
- + /* Failed to find section */
- return NULL;
- }
- @@ -144,7 +144,7 @@
- {
- if (!_wcsnicmp(szValue, L"ReactOS", 7))
- {
- - //FIXME store as enum
- + //FIXME: Store as enum
- pRecord->BootType = 1;
- }
- else
- @@ -158,7 +158,7 @@
- }
- else if (!_wcsnicmp(szName, L"Options", 7))
- {
- - //FIXME store flags as values
- + //FIXME: Store flags as values
- wcscpy(pRecord->szOptions, szValue);
- }
- @@ -186,7 +186,7 @@
- L"DefaultOS",
- &InfContext))
- {
- - /* failed to find default os */
- + /* Failed to find default os */
- return FALSE;
- }
- @@ -196,7 +196,7 @@
- sizeof(szDefaultOs) / sizeof(WCHAR),
- &LineLength))
- {
- - /* no key */
- + /* No key */
- return FALSE;
- }
- @@ -205,7 +205,7 @@
- L"TimeOut",
- &InfContext))
- {
- - /* expected to find timeout value */
- + /* Expected to find timeout value */
- return FALSE;
- }
- @@ -214,7 +214,7 @@
- 1,
- (PINT)&TimeOut))
- {
- - /* failed to retrieve timeout */
- + /* Failed to retrieve timeout */
- return FALSE;
- }
- @@ -223,7 +223,7 @@
- NULL,
- &InfContext))
- {
- - /* expected list of operating systems */
- + /* Expected list of operating systems */
- return FALSE;
- }
- @@ -235,7 +235,7 @@
- sizeof(szName) / sizeof(WCHAR),
- &LineLength))
- {
- - /* the ini file is messed up */
- + /* The ini file is messed up */
- return FALSE;
- }
- @@ -245,7 +245,7 @@
- sizeof(szValue) / sizeof(WCHAR),
- &LineLength))
- {
- - /* the ini file is messed up */
- + /* The ini file is messed up */
- return FALSE;
- }
- @@ -258,7 +258,7 @@
- SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_SETITEMDATA, (WPARAM)lResult, (LPARAM)pRecord);
- if (!wcscmp(szDefaultOs, szName))
- {
- - /* we store the friendly name as key */
- + /* We store the friendly name as key */
- wcscpy(szDefaultOs, szValue);
- }
- }
- @@ -270,11 +270,11 @@
- }
- while (SetupFindNextLine(&InfContext, &InfContext));
- - /* find default os in list */
- + /* Find default os in list */
- lResult = SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_FINDSTRING, (WPARAM)-1, (LPARAM)szDefaultOs);
- if (lResult != CB_ERR)
- {
- - /* set cur sel */
- + /* Set cur sel */
- SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_SETCURSEL, (WPARAM)lResult, (LPARAM)0);
- }
- @@ -347,7 +347,7 @@
- NULL,
- &InfContext))
- {
- - /* failed to find operating systems section */
- + /* Failed to find operating systems section */
- return FALSE;
- }
- @@ -405,11 +405,11 @@
- }
- while (SetupFindNextLine(&InfContext, &InfContext));
- - /* find default os in list */
- + /* Find default os in list */
- lResult = SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_FINDSTRING, (WPARAM)0, (LPARAM)szDefaultOS);
- if (lResult != CB_ERR)
- {
- - /* set cur sel */
- + /* Set cur sel */
- SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_SETCURSEL, (WPARAM)lResult, (LPARAM)0);
- }
- @@ -462,7 +462,7 @@
- if (PathFileExistsW(pStartInfo->szFreeldrIni))
- {
- - /* free resource previously allocated by GetSystemDrive() */
- + /* Free resource previously allocated by GetSystemDrive() */
- HeapFree(GetProcessHeap(), 0, szSystemDrive);
- /* freeldr.ini exists */
- hInf = SetupOpenInfFileW(pStartInfo->szFreeldrIni,
- @@ -480,16 +480,16 @@
- return FALSE;
- }
- - /* try load boot.ini settings */
- + /* Try loading boot.ini settings */
- wcscpy(pStartInfo->szFreeldrIni, szSystemDrive);
- wcscat(pStartInfo->szFreeldrIni, L"\\boot.ini");
- - /* free resource previously allocated by GetSystemDrive() */
- + /* Free resource previously allocated by GetSystemDrive() */
- HeapFree(GetProcessHeap(), 0, szSystemDrive);
- if (PathFileExistsW(pStartInfo->szFreeldrIni))
- {
- - /* load boot.ini settings */
- + /* Load boot.ini settings */
- hInf = SetupOpenInfFileW(pStartInfo->szFreeldrIni,
- NULL,
- INF_STYLE_OLDNT,
- @@ -514,20 +514,20 @@
- {
- if (pStartInfo->dwCrashDumpEnabled == 0)
- {
- - /* no crash information required */
- + /* No crash information required */
- EnableWindow(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), FALSE);
- EnableWindow(GetDlgItem(hwnd, IDC_STRRECOVERWRITE), FALSE);
- }
- else if (pStartInfo->dwCrashDumpEnabled == 3)
- {
- - /* minidump type */
- + /* Minidump type */
- EnableWindow(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), TRUE);
- EnableWindow(GetDlgItem(hwnd, IDC_STRRECOVERWRITE), FALSE);
- SendMessageW(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), WM_SETTEXT, (WPARAM)0, (LPARAM)pStartInfo->szMinidumpDir);
- }
- else if (pStartInfo->dwCrashDumpEnabled == 1 || pStartInfo->dwCrashDumpEnabled == 2)
- {
- - /* kernel or complete dump */
- + /* Kernel or complete dump */
- EnableWindow(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), TRUE);
- EnableWindow(GetDlgItem(hwnd, IDC_STRRECOVERWRITE), TRUE);
- SendMessageW(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), WM_SETTEXT, (WPARAM)0, (LPARAM)pStartInfo->szDumpFile);
- @@ -547,7 +547,7 @@
- KEY_WRITE,
- &hKey) != ERROR_SUCCESS)
- {
- - /* failed to open key */
- + /* Failed to open key */
- return;
- }
- @@ -592,7 +592,7 @@
- KEY_READ,
- &hKey) != ERROR_SUCCESS)
- {
- - /* failed to open key */
- + /* Failed to open key */
- return;
- }
- @@ -690,13 +690,13 @@
- {
- case IDC_STRRECEDIT:
- ShellExecuteW(0, L"open", L"notepad", pStartInfo->szFreeldrIni, NULL, SW_SHOWNORMAL);
- - // FIXME use CreateProcess and wait untill finished
- + // FIXME: Use CreateProcess and wait untill finished
- // DeleteBootRecords(hwndDlg);
- // LoadOSList(hwndDlg);
- break;
- case IDOK:
- - /* save timeout */
- + /* Save timeout */
- if (SendDlgItemMessage(hwndDlg, IDC_STRECLIST, BM_GETCHECK, (WPARAM)0, (LPARAM)0) == BST_CHECKED)
- iTimeout = SendDlgItemMessage(hwndDlg, IDC_STRRECLISTUPDWN, UDM_GETPOS, (WPARAM)0, (LPARAM)0);
- else
- @@ -717,12 +717,12 @@
- {
- if (pStartInfo->iFreeLdrIni == 1) // FreeLdrIni style
- {
- - /* set default timeout */
- + /* Set default timeout */
- WritePrivateProfileStringW(L"FREELOADER",
- L"TimeOut",
- szTimeout,
- pStartInfo->szFreeldrIni);
- - /* set default os */
- + /* Set default OS */
- WritePrivateProfileStringW(L"FREELOADER",
- L"DefaultOS",
- pRecord->szSectionName,
- @@ -731,12 +731,12 @@
- }
- else if (pStartInfo->iFreeLdrIni == 2) // BootIni style
- {
- - /* set default timeout */
- + /* Set default timeout */
- WritePrivateProfileStringW(L"boot loader",
- L"timeout",
- szTimeout,
- pStartInfo->szFreeldrIni);
- - /* set default os */
- + /* Set default OS */
- WritePrivateProfileStringW(L"boot loader",
- L"default",
- pRecord->szBootPath,
- @@ -796,4 +796,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/sysdm/sysdm.c
- ===================================================================
- --- dll/cpl/sysdm/sysdm.c (revision 54086)
- +++ dll/cpl/sysdm/sysdm.c (working copy)
- @@ -202,4 +202,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/sysdm/userprofile.c
- ===================================================================
- --- dll/cpl/sysdm/userprofile.c (revision 54086)
- +++ dll/cpl/sysdm/userprofile.c (working copy)
- @@ -168,4 +168,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/sysdm/virtmem.c
- ===================================================================
- --- dll/cpl/sysdm/virtmem.c (revision 54086)
- +++ dll/cpl/sysdm/virtmem.c (working copy)
- @@ -104,9 +104,9 @@
- static VOID
- ParseMemSettings(PVIRTMEM pVirtMem)
- {
- - TCHAR szDrives[1024]; // all drives
- + TCHAR szDrives[1024]; // All drives
- LPTSTR DrivePtr = szDrives;
- - TCHAR szDrive[3]; // single drive
- + TCHAR szDrive[3]; // Single drive
- TCHAR szVolume[MAX_PATH];
- TCHAR *szDisplayString;
- INT InitialSize = 0;
- @@ -130,15 +130,15 @@
- DrivePtr = _tcsupr(DrivePtr);
- - /* copy the 'X:' portion */
- + /* Copy the 'X:' portion */
- lstrcpyn(szDrive, DrivePtr, sizeof(szDrive) / sizeof(TCHAR));
- if (GetDriveType(DrivePtr) == DRIVE_FIXED)
- {
- - /* does drive match the one in the registry ? */
- + /* Does drive match the one in the registry ? */
- if (!_tcsncmp(pVirtMem->szPagingFiles, szDrive, 2))
- {
- - /* FIXME: we only check the first available pagefile in the reg */
- + /* FIXME: We only check the first available pagefile in the reg */
- GetPageFileSizes(pVirtMem->szPagingFiles,
- &InitialSize,
- &MaximumSize);
- @@ -159,7 +159,7 @@
- _tcscpy(szDisplayString, szDrive);
- _tcscat(szDisplayString, _T("\t"));
- - /* set a volume label if there is one */
- + /* Set a volume label if there is one */
- if (GetVolumeInformation(DrivePtr,
- szVolume,
- 255,
- @@ -224,7 +224,7 @@
- /* Record the position where the next string will start */
- nPos += (INT)lstrlen(szText) + 1;
- - /* add another NULL for REG_MULTI_SZ */
- + /* Add another NULL for REG_MULTI_SZ */
- szPagingFiles[nPos] = _T('\0');
- nPos++;
- }
- @@ -313,7 +313,7 @@
- 0);
- if (Index >= 0 && Index < pVirtMem->Count)
- {
- - /* check if custom settings are checked */
- + /* Check if custom settings are checked */
- if (IsDlgButtonChecked(pVirtMem->hSelf,
- IDC_CUSTOM) == BST_CHECKED)
- {
- @@ -417,11 +417,11 @@
- }
- else
- {
- - /* set sizes to 0 */
- + /* Set sizes to 0 */
- pVirtMem->Pagefile[Index].InitialSize = 0;
- pVirtMem->Pagefile[Index].MaximumSize = 0;
- - // check to see if this drive is used for a paging file
- + // Check to see if this drive is used for a paging file
- if (IsDlgButtonChecked(pVirtMem->hSelf,
- IDC_NOPAGEFILE) == BST_UNCHECKED)
- {
- @@ -468,7 +468,7 @@
- if (pVirtMem->Pagefile[Index].InitialSize != 0 &&
- pVirtMem->Pagefile[Index].MaximumSize != 0)
- {
- - /* enable and fill the custom values */
- + /* Enable and fill the custom values */
- EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_MAXSIZE), TRUE);
- EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_INITIALSIZE), TRUE);
- @@ -492,7 +492,7 @@
- EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_MAXSIZE), FALSE);
- EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_INITIALSIZE), FALSE);
- - /* is it system managed */
- + /* Is it system managed */
- if (pVirtMem->Pagefile[Index].bUsed)
- {
- CheckDlgButton(pVirtMem->hSelf,
- @@ -636,4 +636,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/telephon/resource.h
- ===================================================================
- --- dll/cpl/telephon/resource.h (revision 54086)
- +++ dll/cpl/telephon/resource.h (working copy)
- @@ -1,9 +1,9 @@
- #pragma once
- -/* icons */
- +/* Icons */
- #define IDI_CPLSYSTEM 100
- -/* strings */
- +/* Strings */
- #define IDS_CPLSYSTEMNAME 1001
- #define IDS_CPLSYSTEMDESCRIPTION 2001
- Index: dll/cpl/telephon/telephon.c
- ===================================================================
- --- dll/cpl/telephon/telephon.c (revision 54086)
- +++ dll/cpl/telephon/telephon.c (working copy)
- @@ -64,4 +64,4 @@
- DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
- {
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/timedate/clock.c
- ===================================================================
- --- dll/cpl/timedate/clock.c (revision 54086)
- +++ dll/cpl/timedate/clock.c (working copy)
- @@ -54,24 +54,24 @@
- HBRUSH hBrushOld;
- HPEN hPenOld = NULL;
- - /* grey brush to fill the dots */
- + /* Grey brush to fill the dots */
- hBrushOld = SelectObject(hdc, pClockData->hGreyBrush);
- hPenOld = GetCurrentObject(hdc, OBJ_PEN);
- - // TODO: check if this conversion is correct resp. usable
- + // TODO: Check if this conversion is correct resp. usable
- Radius = min(pClockData->cxClient,pClockData->cyClient) * 2;
- for (iAngle = 0; iAngle < 360; iAngle += 6)
- {
- - /* starting coords */
- + /* Starting coords */
- pt[0].x = 0;
- pt[0].y = Radius;
- - /* rotate start coords */
- + /* Rotate start coords */
- RotatePoint(pt, 1, iAngle);
- - /* determine whether it's a big dot or a little dot
- + /* Determine whether it's a big dot or a little dot
- * i.e. 1-4 or 5, 6-9 or 10, 11-14 or 15 */
- if (iAngle % 5)
- {
- @@ -288,4 +288,4 @@
- {
- UnregisterClassW(szClockWndClass,
- hApplet);
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/timedate/dateandtime.c
- ===================================================================
- --- dll/cpl/timedate/dateandtime.c (revision 54086)
- +++ dll/cpl/timedate/dateandtime.c (working copy)
- @@ -239,7 +239,7 @@
- {
- UNREFERENCED_PARAMETER(lpAutoUpdate);
- - /* update the controls */
- + /* Update the controls */
- FillMonthsComboBox(GetDlgItem(hwndDlg,
- IDC_MONTHCB));
- }
- @@ -254,7 +254,7 @@
- switch (uMsg)
- {
- case WM_KEYDOWN:
- - /* stop the timer when the user is about to change the time */
- + /* Stop the timer when the user is about to change the time */
- if ((wParam != VK_LEFT) & (wParam != VK_RIGHT))
- KillTimer(GetParent(hwnd), ID_TIMER);
- break;
- @@ -281,7 +281,7 @@
- SetTimer(hwndDlg, ID_TIMER, 1000, NULL);
- - /* set range and current year */
- + /* Set range and current year */
- SendMessageW(GetDlgItem(hwndDlg, IDC_YEAR), UDM_SETRANGE, 0, MAKELONG ((short) 9999, (short) 1900));
- SendMessageW(GetDlgItem(hwndDlg, IDC_YEAR), UDM_SETPOS, 0, MAKELONG( (short) st.wYear, 0));
- @@ -393,7 +393,7 @@
- break;
- case WM_TIMECHANGE:
- - /* FIXME - we don't get this message as we're not a top-level window... */
- + /* FIXME: We don't get this message as we're not a top-level window... */
- SendMessageW(GetDlgItem(hwndDlg,
- IDC_MONTHCALENDAR),
- MCCM_RESET,
- @@ -407,4 +407,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/timedate/internettime.c
- ===================================================================
- --- dll/cpl/timedate/internettime.c (revision 54086)
- +++ dll/cpl/timedate/internettime.c (working copy)
- @@ -47,7 +47,7 @@
- &dwNameSize);
- if (lRet == ERROR_SUCCESS)
- {
- - /* get date from default reg value */
- + /* Get date from default reg value */
- if (wcscmp(szValName, L"") == 0) // if (Index == 0)
- {
- dwDefault = _wtoi(szData);
- @@ -71,8 +71,8 @@
- if (dwDefault < 1 || dwDefault > dwIndex)
- dwDefault = 1;
- - /* server reg entries count from 1,
- - * combo boxes count from 0 */
- + /* Server reg entries count from 1,
- + * Combo boxes count from 0 */
- dwDefault--;
- SendMessageW(hList,
- @@ -99,11 +99,11 @@
- uSel = (UINT)SendMessageW(hList, CB_GETCURSEL, 0, 0);
- - /* server reg entries count from 1,
- - * combo boxes count from 0 */
- + /* Server reg entries count from 1,
- + * Combo boxes count from 0 */
- uSel++;
- - /* convert to wide char */
- + /* Convert to wide char */
- _itow(uSel, szSel, 10);
- lRet = RegOpenKeyExW(HKEY_LOCAL_MACHINE,
- @@ -130,7 +130,7 @@
- }
- -/* get the domain name from the registry */
- +/* Get the domain name from the registry */
- static BOOL
- GetNTPServerAddress(LPWSTR *lpAddress)
- {
- @@ -199,7 +199,7 @@
- }
- -/* request the time from the current NTP server */
- +/* Request the time from the current NTP server */
- static ULONG
- GetTimeFromServer(VOID)
- {
- @@ -230,7 +230,7 @@
- LARGE_INTEGER li;
- SYSTEMTIME stNew;
- - /* time at 1st Jan 1900 */
- + /* Time at 1st Jan 1900 */
- stNew.wYear = 1900;
- stNew.wMonth = 1;
- stNew.wDay = 1;
- @@ -239,19 +239,19 @@
- stNew.wSecond = 0;
- stNew.wMilliseconds = 0;
- - /* convert to a file time */
- + /* Convert to a file time */
- if (!SystemTimeToFileTime(&stNew, &ftNew))
- {
- DisplayWin32Error(GetLastError());
- return;
- }
- - /* add on the time passed since 1st Jan 1900 */
- + /* Add on the time passed since 1st Jan 1900 */
- li = *(LARGE_INTEGER *)&ftNew;
- li.QuadPart += (LONGLONG)10000000 * ulTime;
- ftNew = * (FILETIME *)&li;
- - /* convert back to a system time */
- + /* Convert back to a system time */
- if (!FileTimeToSystemTime(&ftNew, &stNew))
- {
- DisplayWin32Error(GetLastError());
- @@ -388,4 +388,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/timedate/monthcal.c
- ===================================================================
- --- dll/cpl/timedate/monthcal.c (revision 54086)
- +++ dll/cpl/timedate/monthcal.c (working copy)
- @@ -76,7 +76,7 @@
- }
- /*
- - * for the year range 1..9999
- + * For the year range 1..9999
- * return 1 if is leap year otherwise 0
- */
- static WORD LeapYear(IN WORD Year)
- @@ -100,7 +100,7 @@
- {
- #ifdef WITH_1752
- if ((Year == 1752) && (Month == 9))
- - return 19; // special case: September 1752 has no 3rd-13th
- + return 19; // Special case: September 1752 has no 3rd-13th
- else
- #endif
- return MonthDays[Month - 1];
- @@ -180,7 +180,7 @@
- RepaintHeader = TRUE;
- }
- - /* update the days layout of the current month */
- + /* Update the days layout of the current month */
- ZeroMemory(infoPtr->Days,
- sizeof(infoPtr->Days));
- @@ -199,7 +199,7 @@
- *(pDay++) = (BYTE)++d;
- }
- - /* repaint the control */
- + /* Repaint the control */
- if (RepaintHeader)
- {
- InvalidateRect(infoPtr->hSelf,
- @@ -227,10 +227,10 @@
- SYSTEMTIME LocalTime = {0};
- UINT uElapse;
- - /* update the current date */
- + /* Update the current date */
- GetLocalTime(&LocalTime);
- - /* calculate the number of remaining milliseconds until midnight */
- + /* Calculate the number of remaining milliseconds until midnight */
- uElapse = 1000 - (UINT)LocalTime.wMilliseconds;
- uElapse += (59 - (UINT)LocalTime.wSecond) * 1000;
- uElapse += (59 - (UINT)LocalTime.wMinute) * 60 * 1000;
- @@ -241,7 +241,7 @@
- else
- uElapse += 100; /* Add a delay of 0.1 seconds */
- - /* setup the new timer */
- + /* Setup the new timer */
- if (SetTimer(infoPtr->hSelf,
- ID_DAYTIMER,
- uElapse,
- @@ -263,7 +263,7 @@
- 0,
- 0);
- - /* cache the configuration */
- + /* Cache the configuration */
- infoPtr->FirstDayOfWeek = MonthCalFirstDayOfWeek();
- infoPtr->hbHeader = GetSysColorBrush(infoPtr->Enabled ? MONTHCAL_HEADERBG : MONTHCAL_DISABLED_HEADERBG);
- @@ -281,7 +281,7 @@
- }
- }
- - /* update the control */
- + /* Update the control */
- MonthCalUpdate(infoPtr);
- }
- @@ -317,7 +317,7 @@
- {
- infoPtr->Changed = TRUE;
- - /* kill the day timer */
- + /* Kill the day timer */
- if (infoPtr->DayTimerSet)
- {
- KillTimer(infoPtr->hSelf,
- @@ -343,12 +343,12 @@
- sc.NewMonth = Month;
- sc.NewYear = Year;
- - /* notify the parent */
- + /* Notify the parent */
- if (!MonthCalNotifyControlParent(infoPtr,
- MCCN_SELCHANGE,
- &sc))
- {
- - /* check if we actually need to update */
- + /* Check if we actually need to update */
- if (infoPtr->Month != sc.NewMonth ||
- infoPtr->Year != sc.NewYear)
- {
- @@ -358,7 +358,7 @@
- MonthCalChange(infoPtr);
- - /* repaint the entire control */
- + /* Repaint the entire control */
- MonthCalUpdate(infoPtr);
- Ret = TRUE;
- @@ -375,7 +375,7 @@
- sc.OldDay,
- &rcUpdate))
- {
- - /* repaint the day cells that need to be updated */
- + /* Repaint the day cells that need to be updated */
- InvalidateRect(infoPtr->hSelf,
- &rcUpdate,
- TRUE);
- @@ -419,7 +419,7 @@
- }
- }
- - /* kill the day timer */
- + /* Kill the day timer */
- if (infoPtr->DayTimerSet)
- {
- KillTimer(infoPtr->hSelf,
- @@ -427,7 +427,7 @@
- infoPtr->DayTimerSet = FALSE;
- }
- - /* setup the new day timer */
- + /* Setup the new day timer */
- MonthCalSetupDayTimer(infoPtr);
- if (Time != NULL)
- @@ -488,7 +488,7 @@
- {
- RECT rcHeader;
- - /* paint the header */
- + /* Paint the header */
- rcHeader.left = prcUpdate->left;
- rcHeader.top = rcCell.top;
- rcHeader.right = prcUpdate->right;
- @@ -508,7 +508,7 @@
- rcCell.left = x * infoPtr->CellSize.cx;
- rcCell.right = rcCell.left + infoPtr->CellSize.cx;
- - /* write the first letter of each weekday */
- + /* Write the first letter of each weekday */
- DrawTextW(hDC,
- &infoPtr->Week[x],
- 1,
- @@ -536,7 +536,7 @@
- rcCell.left = x * infoPtr->CellSize.cx;
- rcCell.right = rcCell.left + infoPtr->CellSize.cx;
- - /* write the day number */
- + /* Write the day number */
- if (Day != 0 && Day < 100)
- {
- WCHAR szDay[3];
- @@ -588,14 +588,14 @@
- goto FailNoHighlight;
- }
- - /* highlight the selected day */
- + /* Highlight the selected day */
- crOldText = SetTextColor(hDC,
- GetSysColor(infoPtr->Enabled ? MONTHCAL_SELFG : MONTHCAL_DISABLED_SELFG));
- }
- else
- {
- FailNoHighlight:
- - /* don't change the text color, we're not highlighting it... */
- + /* Don't change the text color, we're not highlighting it... */
- crOldText = CLR_INVALID;
- }
- @@ -764,7 +764,7 @@
- infoPtr->Year);
- }
- - /* fall through */
- + /* Fall through */
- }
- case WM_MBUTTONDOWN:
- @@ -822,7 +822,7 @@
- }
- }
- - /* update the selection */
- + /* Update the selection */
- if (NewDay != 0)
- {
- MonthCalSetDate(infoPtr,
- @@ -843,7 +843,7 @@
- {
- case VK_TAB:
- {
- - /* change the UI status */
- + /* Change the UI status */
- SendMessageW(GetAncestor(hwnd,
- GA_PARENT),
- WM_CHANGEUISTATE,
- @@ -972,18 +972,18 @@
- {
- case ID_DAYTIMER:
- {
- - /* kill the timer */
- + /* Kill the timer */
- KillTimer(hwnd,
- ID_DAYTIMER);
- infoPtr->DayTimerSet = FALSE;
- if (!infoPtr->Changed)
- {
- - /* update the system time and setup the new day timer */
- + /* Update the system time and setup the new day timer */
- MonthCalSetLocalTime(infoPtr,
- NULL);
- - /* update the control */
- + /* Update the control */
- MonthCalUpdate(infoPtr);
- }
- break;
- @@ -1007,7 +1007,7 @@
- infoPtr->CellSize.cx = infoPtr->ClientSize.cx / 7;
- infoPtr->CellSize.cy = infoPtr->ClientSize.cy / 7;
- - /* repaint the control */
- + /* Repaint the control */
- InvalidateRect(hwnd,
- NULL,
- TRUE);
- @@ -1118,4 +1118,4 @@
- {
- UnregisterClassW(szMonthCalWndClass,
- hInstance);
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/timedate/ntpclient.c
- ===================================================================
- --- dll/cpl/timedate/ntpclient.c (revision 54086)
- +++ dll/cpl/timedate/ntpclient.c (working copy)
- @@ -40,11 +40,11 @@
- if (pInfo->Sock == INVALID_SOCKET)
- return FALSE;
- - /* setup server info */
- + /* Setup server info */
- he = gethostbyname(lpAddress);
- if (he != NULL)
- {
- - /* setup server socket info */
- + /* Setup server socket info */
- ZeroMemory(&pInfo->ntpAddr, sizeof(SOCKADDR_IN));
- pInfo->ntpAddr.sin_family = AF_INET; //he->h_addrtype;
- pInfo->ntpAddr.sin_port = htons(NTPPORT);
- @@ -71,7 +71,7 @@
- }
- -/* send some data to wake the server up */
- +/* Send some data to wake the server up */
- static BOOL
- SendData(PINFO pInfo)
- {
- @@ -106,15 +106,15 @@
- INT Ret;
- ULONG ulTime = 0;
- - /* monitor socket for incomming connections */
- + /* Monitor socket for incomming connections */
- FD_ZERO(&readFDS);
- FD_SET(pInfo->Sock, &readFDS);
- - /* set timeout values */
- + /* Set timeout values */
- timeVal.tv_sec = TIMEOUT / 1000;
- timeVal.tv_usec = TIMEOUT % 1000;
- - /* check for data on the socket for TIMEOUT millisecs*/
- + /* Check for data on the socket for TIMEOUT millisecs*/
- Ret = select(0, &readFDS, NULL, NULL, &timeVal);
- if ((Ret != SOCKET_ERROR) && (Ret != 0))
- @@ -178,4 +178,4 @@
- HeapFree(GetProcessHeap(), 0, lpAddr);
- return ulTime;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/timedate/timedate.c
- ===================================================================
- --- dll/cpl/timedate/timedate.c (revision 54086)
- +++ dll/cpl/timedate/timedate.c (working copy)
- @@ -170,4 +170,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/timedate/timedate.h
- ===================================================================
- --- dll/cpl/timedate/timedate.h (revision 54086)
- +++ dll/cpl/timedate/timedate.h (working copy)
- @@ -109,4 +109,4 @@
- BOOL RegisterMonthCalControl(IN HINSTANCE hInstance);
- VOID UnregisterMonthCalControl(IN HINSTANCE hInstance);
- -/* EOF */
- +/* EOF */
- \ No newline at end of file
- Index: dll/cpl/timedate/timezone.c
- ===================================================================
- --- dll/cpl/timedate/timezone.c (revision 54086)
- +++ dll/cpl/timedate/timezone.c (working copy)
- @@ -331,7 +331,7 @@
- &hKey))
- return;
- - /* if the call fails (non zero), the reg value isn't available,
- + /* If the call fails (non zero), the reg value isn't available,
- * which means it shouldn't be disabled, so we should check the button.
- */
- if (RegQueryValueExW(hKey,
- @@ -466,4 +466,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/usrmgr/extra.c
- ===================================================================
- --- dll/cpl/usrmgr/extra.c (revision 54086)
- +++ dll/cpl/usrmgr/extra.c (working copy)
- @@ -30,4 +30,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/usrmgr/groups.c
- ===================================================================
- --- dll/cpl/usrmgr/groups.c (revision 54086)
- +++ dll/cpl/usrmgr/groups.c (working copy)
- @@ -275,7 +275,7 @@
- szGroupName,
- UNLEN);
- - /* Display a warning message because the delete operation cannot be reverted */
- + /* Display a warning message, because the delete operation cannot be reverted */
- wsprintf(szText, TEXT("Dou you really want to delete the user group \"%s\"?"), szGroupName);
- if (MessageBox(NULL, szText, TEXT("User Groups"), MB_ICONWARNING | MB_YESNO) == IDNO)
- return FALSE;
- @@ -505,4 +505,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/usrmgr/misc.c
- ===================================================================
- --- dll/cpl/usrmgr/misc.c (revision 54086)
- +++ dll/cpl/usrmgr/misc.c (working copy)
- @@ -49,4 +49,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/usrmgr/userprops.c
- ===================================================================
- --- dll/cpl/usrmgr/userprops.c (revision 54086)
- +++ dll/cpl/usrmgr/userprops.c (working copy)
- @@ -945,4 +945,4 @@
- InitPropSheetPage(&psp[2], IDD_USER_PROFILE, (DLGPROC)UserProfilePageProc, szUserName);
- return (PropertySheet(&psh) == IDOK);
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/usrmgr/users.c
- ===================================================================
- --- dll/cpl/usrmgr/users.c (revision 54086)
- +++ dll/cpl/usrmgr/users.c (working copy)
- @@ -703,4 +703,4 @@
- }
- return FALSE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/usrmgr/usrmgr.c
- ===================================================================
- --- dll/cpl/usrmgr/usrmgr.c (revision 54086)
- +++ dll/cpl/usrmgr/usrmgr.c (working copy)
- @@ -119,4 +119,4 @@
- }
- return TRUE;
- -}
- +}
- \ No newline at end of file
- Index: dll/cpl/usrmgr/usrmgr.h
- ===================================================================
- --- dll/cpl/usrmgr/usrmgr.h (revision 54086)
- +++ dll/cpl/usrmgr/usrmgr.h (working copy)
- @@ -41,4 +41,4 @@
- /* userprops.c */
- BOOL
- -UserProperties(HWND hwndDlg);
- +UserProperties(HWND hwndDlg);
- \ No newline at end of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement