Advertisement
Guest User

Untitled

a guest
Oct 11th, 2011
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 125.48 KB | None | 0 0
  1. Index: dll/cpl/access/access.c
  2. ===================================================================
  3. --- dll/cpl/access/access.c (revision 54086)
  4. +++ dll/cpl/access/access.c (working copy)
  5. @@ -76,7 +76,7 @@
  6.  
  7.      pGlobalData->uCaretBlinkTime = GetCaretBlinkTime();
  8.  
  9. -    /* get sound settings */
  10. +    /* Get sound settings */
  11.      pGlobalData->ssSoundSentry.cbSize = sizeof(SOUNDSENTRY);
  12.      SystemParametersInfo(SPI_GETSOUNDSENTRY,
  13.                           sizeof(SOUNDSENTRY),
  14. Index: dll/cpl/access/access.h
  15. ===================================================================
  16. --- dll/cpl/access/access.h (revision 54086)
  17. +++ dll/cpl/access/access.h (working copy)
  18. @@ -21,7 +21,7 @@
  19.  
  20.  typedef struct _GLOBAL_DATA
  21.  {
  22. -    /* keyboard page */
  23. +    /* Keyboard page */
  24.      STICKYKEYS stickyKeys;
  25.      STICKYKEYS oldStickyKeys;
  26.      FILTERKEYS filterKeys;
  27. @@ -30,11 +30,11 @@
  28.      TOGGLEKEYS oldToggleKeys;
  29.      BOOL bKeyboardPref;
  30.  
  31. -    /* sound page */
  32. +    /* Sound page */
  33.      SOUNDSENTRY ssSoundSentry;
  34.      BOOL bShowSounds;
  35.  
  36. -    /* display page */
  37. +    /* Display page */
  38.      HIGHCONTRAST highContrast;
  39.      UINT uCaretBlinkTime;
  40.      UINT uCaretWidth;
  41. @@ -42,10 +42,10 @@
  42.      RECT rcCaret;
  43.      RECT rcOldCaret;
  44.  
  45. -    /* mouse page */
  46. +    /* Mouse page */
  47.      MOUSEKEYS mouseKeys;
  48.  
  49. -    /* general page */
  50. +    /* General page */
  51.      ACCESSTIMEOUT accessTimeout;
  52.      SERIALKEYS serialKeys;
  53.      TCHAR szActivePort[MAX_PATH];
  54. Index: dll/cpl/appwiz/resource.h
  55. ===================================================================
  56. --- dll/cpl/appwiz/resource.h   (revision 54086)
  57. +++ dll/cpl/appwiz/resource.h   (working copy)
  58. @@ -1,11 +1,11 @@
  59.  #pragma once
  60.  
  61. -/* metrics */
  62. +/* Metrics */
  63.  #define PROPSHEETWIDTH     380
  64.  #define PROPSHEETHEIGHT    228
  65.  #define PROPSHEETPADDING   6
  66.  
  67. -/* icons */
  68. +/* Icons */
  69.  #define IDI_CPLSYSTEM  1500
  70.  #define IDI_APPICO     1501
  71.  #define IDI_INSTICO        1502
  72. @@ -13,20 +13,20 @@
  73.  #define IDI_DOWNLOADICO    1504
  74.  #define IDI_APPINETICO 1505
  75.  
  76. -/* dialogs */
  77. +/* Dialogs */
  78.  #define IDD_SHORTCUT_LOCATION  203
  79.  #define IDD_SHORTCUT_FINISH        204
  80.  
  81. -/* bitmaps */
  82. +/* Bitmaps */
  83.  #define IDB_WATERMARK  5001
  84.  
  85. -/* strings */
  86. +/* Strings */
  87.  #define IDS_CPLSYSTEMNAME          1001
  88.  #define IDS_CPLSYSTEMDESCRIPTION   2001
  89.  #define IDS_CREATE_SHORTCUT         2021
  90.  #define IDS_ERROR_NOT_FOUND         2022
  91.  
  92. -/* controls */
  93. +/* Controls */
  94.  #define IDC_SHORTCUT_LOCATION  107
  95.  #define IDC_SHORTCUT_BROWSE        108
  96.  #define IDC_SHORTCUT_NAME      109
  97. Index: dll/cpl/console/colors.c
  98. ===================================================================
  99. --- dll/cpl/console/colors.c    (revision 54086)
  100. +++ dll/cpl/console/colors.c    (working copy)
  101. @@ -92,7 +92,7 @@
  102.                 }
  103.                 else
  104.                 {
  105. -                   /* options have already been applied */
  106. +                   /* Options have already been applied */
  107.                     SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_NOERROR);
  108.                     return TRUE;
  109.                 }
  110. @@ -201,7 +201,7 @@
  111.  
  112.                 if (index == pConInfo->ActiveStaticControl)
  113.                 {
  114. -                   /* same static control was re-clicked */
  115. +                   /* Same static control was re-clicked */
  116.                     break;
  117.                 }
  118.  
  119. @@ -209,7 +209,7 @@
  120.                 SetDlgItemInt(hwndDlg, IDC_EDIT_COLOR_GREEN, GetGValue(pConInfo->Colors[index]), FALSE);
  121.                 SetDlgItemInt(hwndDlg, IDC_EDIT_COLOR_BLUE, GetBValue(pConInfo->Colors[index]), FALSE);
  122.  
  123. -               /* update global struct */
  124. +               /* Update global struct */
  125.                 if (IsDlgButtonChecked(hwndDlg, IDC_RADIO_SCREEN_TEXT))
  126.                 {
  127.                     pConInfo->ScreenText = pConInfo->Colors[index];
  128. @@ -235,8 +235,7 @@
  129.                 break;
  130.             }
  131.         }
  132. -
  133. -
  134. +      
  135.         default:
  136.             break;
  137.     }
  138. Index: dll/cpl/console/console.c
  139. ===================================================================
  140. --- dll/cpl/console/console.c   (revision 54086)
  141. +++ dll/cpl/console/console.c   (working copy)
  142. @@ -71,7 +71,7 @@
  143.  void
  144.  InitConsoleDefaults(PConsoleInfo pConInfo)
  145.  {
  146. -   /* initialize struct */
  147. +   /* Initialize struct */
  148.     pConInfo->InsertMode = TRUE;
  149.     pConInfo->HistoryBufferSize = 50;
  150.     pConInfo->NumberOfHistoryBuffers = 5;
  151. @@ -142,7 +142,7 @@
  152.  
  153.     if (res == IDCANCEL)
  154.     {
  155. -       /* dont destroy when user presses cancel */
  156. +       /* Don't destroy when user presses cancel */
  157.         SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_INVALID_NOCHANGEPAGE);
  158.     }
  159.     else if ( res == IDC_RADIO_APPLY_ALL )
  160. @@ -175,8 +175,8 @@
  161.     /*
  162.      * console.dll shares information with win32csr with wParam, lParam
  163.      *
  164. -    * wParam is a pointer to an ConsoleInfo struct
  165. -    * lParam is a boolean parameter which specifies wheter defaults should be shown
  166. +    * wParam is a pointer to a ConsoleInfo struct
  167. +    * lParam is a boolean parameter which specifies whether defaults should be shown
  168.      */
  169.  
  170.     pConInfo = AllocConsoleInfo();
  171. @@ -187,14 +187,14 @@
  172.  
  173.     if (lParam)
  174.     {
  175. -       /* use defaults */
  176. +       /* Use defaults */
  177.         InitConsoleDefaults(pConInfo);
  178.     }
  179.     else
  180.     {
  181.         if (IsBadReadPtr((const void *)pSharedInfo, sizeof(ConsoleInfo)))
  182.         {
  183. -           /* use defaults */
  184. +           /* Use defaults */
  185.             InitConsoleDefaults(pConInfo);
  186.         }
  187.         else
  188. @@ -305,5 +305,4 @@
  189.        break;
  190.    }
  191.    return TRUE;
  192. -}
  193. -
  194. +}
  195. \ No newline at end of file
  196. Index: dll/cpl/console/console.h
  197. ===================================================================
  198. --- dll/cpl/console/console.h   (revision 54086)
  199. +++ dll/cpl/console/console.h   (working copy)
  200. @@ -53,7 +53,7 @@
  201.  #define PM_APPLY_CONSOLE_INFO (WM_APP + 100)
  202.  
  203.  
  204. -//globals
  205. +//Globals
  206.  extern HINSTANCE hApplet;
  207.  
  208.  #endif /* CONSOLE_H__ */
  209. Index: dll/cpl/console/console.rc
  210. ===================================================================
  211. --- dll/cpl/console/console.rc  (revision 54086)
  212. +++ dll/cpl/console/console.rc  (working copy)
  213. @@ -16,4 +16,4 @@
  214.  #define REACTOS_STR_ORIGINAL_FILENAME  "console.dll\0"
  215.  #include <reactos/version.rc>
  216.  
  217. -#include "rsrc.rc"
  218. +#include "rsrc.rc"
  219. \ No newline at end of file
  220. Index: dll/cpl/console/layout.c
  221. ===================================================================
  222. --- dll/cpl/console/layout.c    (revision 54086)
  223. +++ dll/cpl/console/layout.c    (working copy)
  224. @@ -9,7 +9,6 @@
  225.  #include "console.h"
  226.  
  227.  
  228. -
  229.  void PaintConsole(LPDRAWITEMSTRUCT drawItem, PConsoleInfo pConInfo)
  230.  {
  231.     HBRUSH hBrush;
  232. @@ -31,45 +30,45 @@
  233.     else
  234.     {
  235.         //TODO
  236. -       // calculate pos correctly when console centered
  237. +       // Calculate pos correctly when console centered
  238.         startx = sizex / 3;
  239.         starty = sizey / 3;
  240.     }
  241.  
  242.     //TODO
  243. -   // strech console when bold fonts are selected
  244. +   // Strech console when bold fonts are selected
  245.     endx = drawItem->rcItem.right - startx + 15;
  246.     endy = starty + sizey / 3;
  247.  
  248. -   /* draw console size */
  249. +   /* Draw console size */
  250.     SetRect(&cRect, startx, starty, endx, endy);
  251.     FillRect(drawItem->hDC, &cRect, GetSysColorBrush(COLOR_WINDOWFRAME));
  252.  
  253. -   /* draw console border */
  254. +   /* Draw console border */
  255.     SetRect(&fRect, startx + 1, starty + 1, cRect.right - 1, cRect.bottom - 1);
  256.     FrameRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
  257.  
  258. -   /* draw left box */
  259. +   /* Draw left box */
  260.     SetRect(&fRect, startx + 3, starty + 3, startx + 5, starty + 5);
  261.     FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
  262.  
  263. -   /* draw window title */
  264. +   /* Draw window title */
  265.     SetRect(&fRect, startx + 7, starty + 3, cRect.right - 9, starty + 5);
  266.     FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVECAPTION));
  267.  
  268. -   /* draw first right box */
  269. +   /* Draw first right box */
  270.     SetRect(&fRect, fRect.right + 1, starty + 3, fRect.right + 3, starty + 5);
  271.     FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
  272.  
  273. -   /* draw second right box */
  274. +   /* Draw second right box */
  275.     SetRect(&fRect, fRect.right + 1, starty + 3, fRect.right + 3, starty + 5);
  276.     FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
  277.  
  278. -   /* draw scrollbar */
  279. +   /* Draw scrollbar */
  280.     SetRect(&fRect, cRect.right - 5, fRect.bottom + 1, cRect.right - 3, cRect.bottom - 3);
  281.     FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_SCROLLBAR));
  282.  
  283. -   /* draw console background */
  284. +   /* Draw console background */
  285.     hBrush = CreateSolidBrush(pConInfo->ScreenBackground);
  286.     SetRect(&fRect, startx + 3, starty + 6, cRect.right - 6, cRect.bottom - 3);
  287.     FillRect(drawItem->hDC, &fRect, hBrush);
  288. @@ -107,7 +106,7 @@
  289.     FillRect(drawItem->hDC, &drawItem->rcItem, hBrush);
  290.     if (ntColor == nbkColor)
  291.     {
  292. -       /* text has same color -> invisible */
  293. +       /* Text has same color -> invisible */
  294.         return;
  295.     }
  296.  
  297. @@ -120,7 +119,6 @@
  298.  }
  299.  
  300.  
  301. -
  302.  INT_PTR
  303.  CALLBACK
  304.  LayoutProc(
  305. @@ -167,7 +165,7 @@
  306.             }
  307.             else
  308.             {
  309. -               //FIXME calculate window pos from xres, yres
  310. +               //FIXME: Calculate window pos from xres, yres
  311.                 SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_POS_LEFT, 88, FALSE);
  312.                 SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_POS_TOP, 88, FALSE);
  313.                 EnableWindow(GetDlgItem(hwndDlg, IDC_EDIT_WINDOW_POS_LEFT), FALSE);
  314. @@ -251,7 +249,7 @@
  315.  
  316.                 if (lppsn->hdr.idFrom == IDC_UPDOWN_WINDOW_SIZE_WIDTH || lppsn->hdr.idFrom == IDC_UPDOWN_WINDOW_SIZE_HEIGHT)
  317.                 {
  318. -                   /* automatically adjust screen buffer size when window size enlarges */
  319. +                   /* Automatically adjust screen buffer size when window size enlarges */
  320.                     if (wwidth >= swidth)
  321.                     {
  322.                         SetDlgItemInt(hwndDlg, IDC_EDIT_SCREEN_BUFFER_WIDTH, wwidth, TRUE);
  323. @@ -269,7 +267,7 @@
  324.  
  325.                 if (lppsn->hdr.idFrom == IDC_UPDOWN_SCREEN_BUFFER_WIDTH || lppsn->hdr.idFrom == IDC_UPDOWN_SCREEN_BUFFER_HEIGHT)
  326.                 {
  327. -                   /* automatically adjust window size when screen buffer decreases */
  328. +                   /* Automatically adjust window size when screen buffer decreases */
  329.                     if (wwidth > swidth)
  330.                     {
  331.                         SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_SIZE_WIDTH, swidth, TRUE);
  332. @@ -317,7 +315,7 @@
  333.                         swidth = max(swidth, 1);
  334.                         sheight = max(sheight, 1);
  335.  
  336. -                       /* automatically adjust window size when screen buffer decreases */
  337. +                       /* Automatically adjust window size when screen buffer decreases */
  338.                         if (wwidth > swidth)
  339.                         {
  340.                             SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_SIZE_WIDTH, swidth, TRUE);
  341. @@ -373,4 +371,4 @@
  342.     }
  343.  
  344.     return FALSE;
  345. -}
  346. +}
  347. \ No newline at end of file
  348. Index: dll/cpl/console/options.c
  349. ===================================================================
  350. --- dll/cpl/console/options.c   (revision 54086)
  351. +++ dll/cpl/console/options.c   (working copy)
  352. @@ -61,7 +61,7 @@
  353.                 }
  354.                 else
  355.                 {
  356. -                   /* options have already been applied */
  357. +                   /* Options have already been applied */
  358.                     SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_NOERROR);
  359.                     return TRUE;
  360.                 }
  361. @@ -174,10 +174,10 @@
  362.    HWND hDlgCtrl;
  363.    TCHAR szBuffer[MAX_PATH];
  364.  
  365. -   /* update cursor size */
  366. +   /* Update cursor size */
  367.     if ( pConInfo->CursorSize == 0)
  368.     {
  369. -       /* small cursor */
  370. +       /* Small cursor */
  371.         hDlgCtrl = GetDlgItem(hwndDlg, IDC_RADIO_SMALL_CURSOR);
  372.         SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
  373.  
  374. @@ -207,14 +207,14 @@
  375.         SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_UNCHECKED, 0);
  376.     }
  377.  
  378. -   /* update num buffers */
  379. +   /* Update num buffers */
  380.     hDlgCtrl = GetDlgItem(hwndDlg, IDC_UPDOWN_NUM_BUFFER);
  381.     SendMessage(hDlgCtrl, UDM_SETRANGE, 0, MAKELONG((short)999, (short)1));
  382.     hDlgCtrl = GetDlgItem(hwndDlg, IDC_EDIT_NUM_BUFFER);
  383.     _stprintf(szBuffer, _T("%d"), pConInfo->NumberOfHistoryBuffers);
  384.     SendMessage(hDlgCtrl, WM_SETTEXT, 0, (LPARAM)szBuffer);
  385.  
  386. -   /* update buffer size */
  387. +   /* Update buffer size */
  388.     hDlgCtrl = GetDlgItem(hwndDlg, IDC_UPDOWN_BUFFER_SIZE);
  389.     SendMessage(hDlgCtrl, UDM_SETRANGE, 0, MAKELONG((short)999, (short)1));
  390.     hDlgCtrl = GetDlgItem(hwndDlg, IDC_EDIT_BUFFER_SIZE);
  391. @@ -223,14 +223,14 @@
  392.  
  393.  
  394.  
  395. -   /* update discard duplicates */
  396. +   /* Update discard duplicates */
  397.     hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_DISCARD_DUPLICATES);
  398.     if ( pConInfo->HistoryNoDup )
  399.         SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
  400.     else
  401.         SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
  402.  
  403. -   /* update full/window screen */
  404. +   /* Update full/window screen */
  405.     if ( pConInfo->FullScreen )
  406.     {
  407.         hDlgCtrl = GetDlgItem(hwndDlg, IDC_RADIO_DISPLAY_FULL);
  408. @@ -248,19 +248,17 @@
  409.         SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
  410.     }
  411.  
  412. -   /* update quick edit */
  413. +   /* Update quick edit */
  414.     hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_QUICK_EDIT);
  415.     if ( pConInfo->QuickEdit )
  416.         SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
  417.     else
  418.         SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
  419.  
  420. -   /* update insert mode */
  421. +   /* Update insert mode */
  422.     hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_INSERT_MODE);
  423.     if ( pConInfo->InsertMode )
  424.         SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
  425.     else
  426.         SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
  427. -}
  428. -
  429. -
  430. +}
  431. \ No newline at end of file
  432. Index: dll/cpl/console/resource.h
  433. ===================================================================
  434. --- dll/cpl/console/resource.h  (revision 54086)
  435. +++ dll/cpl/console/resource.h  (working copy)
  436. @@ -11,7 +11,7 @@
  437.  #define IDD_PROPPAGECOLORS     103
  438.  #define IDD_APPLYOPTIONS       104
  439.  
  440. -//options dialog
  441. +//Options dialog
  442.  #define IDC_CHECK_QUICK_EDIT           200
  443.  #define IDC_CHECK_INSERT_MODE          201
  444.  #define IDC_CHECK_DISCARD_DUPLICATES   202
  445. @@ -25,11 +25,11 @@
  446.  #define    IDC_RADIO_DISPLAY_WINDOW        210
  447.  #define IDC_RADIO_DISPLAY_FULL         211
  448.  
  449. -// apply dialog
  450. +//Apply dialog
  451.  #define IDC_RADIO_APPLY_ALL                300
  452.  #define IDC_RADIO_APPLY_CURRENT            301
  453.  
  454. -//font dialog
  455. +//Font dialog
  456.  #define IDC_CHECK_BOLD_FONTS           400
  457.  #define IDC_STATIC_SELECT_FONT_PREVIEW  401
  458.  #define IDC_FONT_SIZE_X                 402
  459. @@ -39,8 +39,7 @@
  460.  #define IDC_LBOX_TYPE                   406
  461.  #define IDC_GROUPBOX_FONT_NAME          407
  462.  
  463. -//layout dialog
  464. -
  465. +//Layout dialog
  466.  #define IDC_UPDOWN_SCREEN_BUFFER_WIDTH   500
  467.  #define IDC_EDIT_SCREEN_BUFFER_WIDTH     501
  468.  #define IDC_EDIT_SCREEN_BUFFER_HEIGHT    502
  469. @@ -56,8 +55,7 @@
  470.  #define IDC_CHECK_SYSTEM_POS_WINDOW      512
  471.  #define IDC_STATIC_LAYOUT_WINDOW_PREVIEW 513
  472.  
  473. -//color dialog
  474. -
  475. +//Color dialog
  476.  #define IDC_RADIO_SCREEN_TEXT           600
  477.  #define IDC_RADIO_SCREEN_BACKGROUND     601
  478.  #define IDC_RADIO_POPUP_TEXT            602
  479. @@ -87,7 +85,6 @@
  480.  #define IDC_STATIC_COLOR15              626
  481.  #define IDC_STATIC_COLOR16              627
  482.  
  483. -
  484. -//string ids
  485. +//String ids
  486.  #define IDS_SCREEN_TEXT                    700
  487. -#define IDS_RASTERFONTS                    701
  488. +#define IDS_RASTERFONTS                    701
  489. \ No newline at end of file
  490. Index: dll/cpl/desk/background.c
  491. ===================================================================
  492. --- dll/cpl/desk/background.c   (revision 54086)
  493. +++ dll/cpl/desk/background.c   (working copy)
  494. @@ -277,7 +277,7 @@
  495.          DWORD dwDisposition = 0;
  496.          result = RegCreateKeyEx( HKEY_CURRENT_USER, TEXT("Control Panel\\Desktop"), 0, NULL, 0, KEY_ALL_ACCESS, NULL,
  497.              &regKey, &dwDisposition );
  498. -        /* now the key must be created & opened and regKey points to opened key */
  499. +        /* Now the key must be created & opened and regKey points to opened key */
  500.          /* On error result will not contain ERROR_SUCCESS. I don't know how to handle */
  501.          /* this case :( */
  502.      }
  503. @@ -397,10 +397,10 @@
  504.      LVFINDINFO lvfi;
  505.      int retVal;
  506.  
  507. -    lvfi.flags = LVFI_STRING; /* search item by EXACT string */
  508. -    lvfi.psz   = tszFileName; /* string to search */
  509. +    lvfi.flags = LVFI_STRING; /* Search item by EXACT string */
  510. +    lvfi.psz   = tszFileName; /* String to search */
  511.  
  512. -    /* other items of this structure are not valid, besacuse flags are not set. */
  513. +    /* Other items of this structure are not valid, besacuse flags are not set. */
  514.      retVal = ListView_FindItem(hwndList, -1, &lvfi);
  515.      if (retVal != -1)
  516.          return TRUE; /* item found! */
  517. @@ -546,7 +546,7 @@
  518.  
  519.      if (pData->backgroundItems[pData->backgroundSelection].bWallpaper == FALSE)
  520.      {
  521. -        /* update desktop background color image */
  522. +        /* Update desktop background color image */
  523.          hBrush = CreateSolidBrush(g_GlobalData.desktop_color);
  524.          FillRect(hDC, &rcItem, hBrush);
  525.          DeleteObject(hBrush);
  526. @@ -726,7 +726,7 @@
  527.          red   = GetRValue(g_GlobalData.desktop_color);
  528.          green = GetGValue(g_GlobalData.desktop_color);
  529.          blue  = GetBValue(g_GlobalData.desktop_color);
  530. -        /* format string to be set to registry */
  531. +        /* Format string to be set to registry */
  532.          wsprintf(clText, TEXT("%d %d %d"), red, green, blue);
  533.          RegSetValueEx(hKey, TEXT("Background"), 0, REG_SZ, (BYTE *)clText,
  534.                        (lstrlen(clText) + 1) * sizeof(TCHAR));
  535. @@ -830,4 +830,4 @@
  536.      }
  537.  
  538.      return FALSE;
  539. -}
  540. +}
  541. \ No newline at end of file
  542. Index: dll/cpl/desk/classinst.c
  543. ===================================================================
  544. --- dll/cpl/desk/classinst.c    (revision 54086)
  545. +++ dll/cpl/desk/classinst.c    (working copy)
  546. @@ -228,4 +228,4 @@
  547.         RegCloseKey(hDeviceSubKey);
  548.  
  549.     return rc;
  550. -}
  551. +}
  552. \ No newline at end of file
  553. Index: dll/cpl/desk/desk.h
  554. ===================================================================
  555. --- dll/cpl/desk/desk.h (revision 54086)
  556. +++ dll/cpl/desk/desk.h (working copy)
  557. @@ -83,7 +83,7 @@
  558.     LPTSTR DeviceKey;
  559.     LPTSTR DeviceID;
  560.     DWORD DeviceStateFlags;
  561. -   PSETTINGS_ENTRY Settings; /* sorted by increasing dmPelsHeight, BPP */
  562. +   PSETTINGS_ENTRY Settings; /* Sorted by increasing dmPelsHeight, BPP */
  563.     DWORD SettingsCount;
  564.     PRESOLUTION_INFO Resolutions;
  565.     DWORD ResolutionsCount;
  566. Index: dll/cpl/desk/devsett.c
  567. ===================================================================
  568. --- dll/cpl/desk/devsett.c  (revision 54086)
  569. +++ dll/cpl/desk/devsett.c  (working copy)
  570. @@ -17,15 +17,15 @@
  571.      const struct IDataObjectVtbl *lpIDataObjectVtbl;
  572.      DWORD ref;
  573.  
  574. -    CLIPFORMAT cfExtInterface; /* "Desk.cpl extension interface" */
  575. -    CLIPFORMAT cfDisplayDevice; /* "Display Device" */
  576. -    CLIPFORMAT cfDisplayName; /* "Display Name" */
  577. -    CLIPFORMAT cfDisplayId; /* "Display ID" */
  578. -    CLIPFORMAT cfMonitorName; /* "Monitor Name" */
  579. -    CLIPFORMAT cfMonitorDevice; /* "Monitor Device" */
  580. -    CLIPFORMAT cfDisplayKey; /* "Display Key" */
  581. +    CLIPFORMAT cfExtInterface;      /* "Desk.cpl extension interface" */
  582. +    CLIPFORMAT cfDisplayDevice;     /* "Display Device" */
  583. +    CLIPFORMAT cfDisplayName;       /* "Display Name" */
  584. +    CLIPFORMAT cfDisplayId;         /* "Display ID" */
  585. +    CLIPFORMAT cfMonitorName;       /* "Monitor Name" */
  586. +    CLIPFORMAT cfMonitorDevice;     /* "Monitor Device" */
  587. +    CLIPFORMAT cfDisplayKey;        /* "Display Key" */
  588.      CLIPFORMAT cfDisplayStateFlags; /* "Display State Flags" */
  589. -    CLIPFORMAT cfPruningMode; /* "Pruning Mode" */
  590. +    CLIPFORMAT cfPruningMode;       /* "Pruning Mode" */
  591.  
  592.      PWSTR pDisplayDevice;
  593.      PWSTR pDisplayName;
  594. @@ -909,4 +909,4 @@
  595.      //PCDevSettings This = impl_from_IDataObject((IDataObject *)Context);
  596.      DPRINT("DisplaySaveSettings() UNIMPLEMENTED!\n");
  597.      return DISP_CHANGE_BADPARAM;
  598. -}
  599. +}
  600. \ No newline at end of file
  601. Index: dll/cpl/desk/dibitmap.c
  602. ===================================================================
  603. --- dll/cpl/desk/dibitmap.c (revision 54086)
  604. +++ dll/cpl/desk/dibitmap.c (working copy)
  605. @@ -96,4 +96,4 @@
  606.      /* Free the bitmap structure */
  607.      if (lpBitmap != NULL)
  608.          HeapFree(GetProcessHeap(), 0, lpBitmap);
  609. -}
  610. +}
  611. \ No newline at end of file
  612. Index: dll/cpl/desk/draw.c
  613. ===================================================================
  614. --- dll/cpl/desk/draw.c (revision 54086)
  615. +++ dll/cpl/desk/draw.c (working copy)
  616. @@ -257,22 +257,22 @@
  617.     lf.lfCharSet = DEFAULT_CHARSET;
  618.     lstrcpy(lf.lfFaceName, TEXT("Marlett"));
  619.     hFont = CreateFontIndirect(&lf);
  620. -   /* save font and text color */
  621. +   /* Save font and text color */
  622.     hOldFont = SelectObject(dc, hFont);
  623.     clrsave = GetTextColor(dc);
  624.     bkmode = GetBkMode(dc);
  625. -   /* set color and drawing mode */
  626. +   /* Set color and drawing mode */
  627.     SetBkMode(dc, TRANSPARENT);
  628.     if(uFlags & DFCS_INACTIVE)
  629.     {
  630. -       /* draw shadow */
  631. +       /* Draw shadow */
  632.         SetTextColor(dc, scheme->crColor[COLOR_BTNHIGHLIGHT]);
  633.         TextOut(dc, myr.left + 1, myr.top + 1, &Symbol, 1);
  634.     }
  635.     SetTextColor(dc, scheme->crColor[(uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT]);
  636. -   /* draw selected symbol */
  637. +   /* Draw selected symbol */
  638.     TextOut(dc, myr.left, myr.top, &Symbol, 1);
  639. -   /* restore previous settings */
  640. +   /* Restore previous settings */
  641.     SetTextColor(dc, clrsave);
  642.     SelectObject(dc, hOldFont);
  643.     SetBkMode(dc, bkmode);
  644. @@ -325,20 +325,20 @@
  645.     lf.lfCharSet = DEFAULT_CHARSET;
  646.     lstrcpy(lf.lfFaceName, TEXT("Marlett"));
  647.     hFont = CreateFontIndirect(&lf);
  648. -   /* save font and text color */
  649. +   /* Save font and text color */
  650.     hOldFont = SelectObject(dc, hFont);
  651.     clrsave = GetTextColor(dc);
  652.     bkmode = GetBkMode(dc);
  653. -   /* set color and drawing mode */
  654. +   /* Set color and drawing mode */
  655.     SetBkMode(dc, TRANSPARENT);
  656.     if(uFlags & DFCS_INACTIVE)
  657.     {
  658. -       /* draw shadow */
  659. +       /* Draw shadow */
  660.         SetTextColor(dc, scheme->crColor[COLOR_BTNHIGHLIGHT]);
  661.         TextOut(dc, myr.left + 1, myr.top + 1, &Symbol, 1);
  662.     }
  663.     SetTextColor(dc, scheme->crColor[(uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT]);
  664. -   /* draw selected symbol */
  665. +   /* Draw selected symbol */
  666.     TextOut(dc, myr.left, myr.top, &Symbol, 1);
  667.     /* restore previous settings */
  668.     SetTextColor(dc, clrsave);
  669. @@ -602,4 +602,4 @@
  670.     SelectObject(DC, hFontOld);
  671.  
  672.     return TRUE;
  673. -}
  674. +}
  675. \ No newline at end of file
  676. Index: dll/cpl/desk/effappdlg.c
  677. ===================================================================
  678. --- dll/cpl/desk/effappdlg.c    (revision 54086)
  679. +++ dll/cpl/desk/effappdlg.c    (working copy)
  680. @@ -139,4 +139,4 @@
  681.     }
  682.  
  683.     return TRUE;
  684. -}
  685. +}
  686. \ No newline at end of file
  687. Index: dll/cpl/desk/general.c
  688. ===================================================================
  689. --- dll/cpl/desk/general.c  (revision 54086)
  690. +++ dll/cpl/desk/general.c  (working copy)
  691. @@ -141,4 +141,4 @@
  692.      }
  693.  
  694.      return Ret;
  695. -}
  696. +}
  697. \ No newline at end of file
  698. Index: dll/cpl/desk/misc.c
  699. ===================================================================
  700. --- dll/cpl/desk/misc.c (revision 54086)
  701. +++ dll/cpl/desk/misc.c (working copy)
  702. @@ -24,7 +24,7 @@
  703.          UINT x;
  704.  
  705.          /* Find the string we're looking for */
  706. -        uID &= 0xF; /* position in the block, same as % 16 */
  707. +        uID &= 0xF; /* Position in the block, same as % 16 */
  708.          for (x = 0; x < uID; x++)
  709.          {
  710.              lpStr += (*lpStr) + 1;
  711. @@ -60,4 +60,4 @@
  712.          }
  713.      }
  714.      return 0;
  715. -}
  716. +}
  717. \ No newline at end of file
  718. Index: dll/cpl/desk/monslctl.c
  719. ===================================================================
  720. --- dll/cpl/desk/monslctl.c (revision 54086)
  721. +++ dll/cpl/desk/monslctl.c (working copy)
  722. @@ -750,7 +750,7 @@
  723.  
  724.      if (infoPtr->hbrDisabled != NULL)
  725.      {
  726. -        /* FIXME - implement */
  727. +        /* FIXME: Implement */
  728.      }
  729.  
  730.      return Ret;
  731. @@ -1242,7 +1242,7 @@
  732.              if (!(infoPtr->ControlExStyle & MSLM_EX_SELECTONRIGHTCLICK))
  733.                  break;
  734.  
  735. -            /* fall through */
  736. +            /* Fall through */
  737.          }
  738.  
  739.          case WM_LBUTTONDBLCLK:
  740. @@ -1274,7 +1274,7 @@
  741.                                     &pt);
  742.              }
  743.  
  744. -            /* fall through */
  745. +            /* Fall through */
  746.          }
  747.  
  748.          case WM_MBUTTONDOWN:
  749. @@ -1308,7 +1308,7 @@
  750.              {
  751.                  case VK_TAB:
  752.                  {
  753. -                    /* change the UI status */
  754. +                    /* Change the UI status */
  755.                      SendMessage(GetAncestor(hwnd,
  756.                                              GA_PARENT),
  757.                                  WM_CHANGEUISTATE,
  758. @@ -1647,4 +1647,4 @@
  759.  {
  760.      UnregisterClassW(szMonitorSelWndClass,
  761.                       hInstance);
  762. -}
  763. +}
  764. \ No newline at end of file
  765. Index: dll/cpl/desk/monslctl.h
  766. ===================================================================
  767. --- dll/cpl/desk/monslctl.h (revision 54086)
  768. +++ dll/cpl/desk/monslctl.h (working copy)
  769. @@ -212,4 +212,4 @@
  770.  #define MSLM_GETMONITORRECT (WM_USER + 0x20)
  771.  
  772.  BOOL RegisterMonitorSelectionControl(IN HINSTANCE hInstance);
  773. -VOID UnregisterMonitorSelectionControl(IN HINSTANCE hInstance);
  774. +VOID UnregisterMonitorSelectionControl(IN HINSTANCE hInstance);
  775. \ No newline at end of file
  776. Index: dll/cpl/desk/preview.c
  777. ===================================================================
  778. --- dll/cpl/desk/preview.c  (revision 54086)
  779. +++ dll/cpl/desk/preview.c  (working copy)
  780. @@ -524,4 +524,4 @@
  781.  UnregisterPreviewControl(IN HINSTANCE hInstance)
  782.  {
  783.      UnregisterClass(szPreviewWndClass, hInstance);
  784. -}
  785. +}
  786. \ No newline at end of file
  787. Index: dll/cpl/desk/preview.h
  788. ===================================================================
  789. --- dll/cpl/desk/preview.h  (revision 54086)
  790. +++ dll/cpl/desk/preview.h  (working copy)
  791. @@ -38,4 +38,4 @@
  792.  #define PVM_UPDATETHEME      (WM_USER+13)
  793.  
  794.  BOOL RegisterPreviewControl(IN HINSTANCE hInstance);
  795. -VOID UnregisterPreviewControl(IN HINSTANCE hInstance);
  796. +VOID UnregisterPreviewControl(IN HINSTANCE hInstance);
  797. \ No newline at end of file
  798. Index: dll/cpl/desk/resource.h
  799. ===================================================================
  800. --- dll/cpl/desk/resource.h (revision 54086)
  801. +++ dll/cpl/desk/resource.h (working copy)
  802. @@ -1,6 +1,6 @@
  803.  #pragma once
  804.  
  805. -/* metrics */
  806. +/* Metrics */
  807.  #define PROPSHEETWIDTH                  246
  808.  #define PROPSHEETHEIGHT                 228
  809.  #define PROPSHEETPADDING                6
  810. @@ -183,4 +183,4 @@
  811.  #define IDC_FONTSIZE_COSTOM             5001
  812.  #define IDC_RESTART_RB                  5002
  813.  #define IDC_WITHOUTREBOOT_RB            5003
  814. -#define IDC_ASKME_RB                    5004
  815. +#define IDC_ASKME_RB                    5004
  816. \ No newline at end of file
  817. Index: dll/cpl/desk/screensaver.c
  818. ===================================================================
  819. --- dll/cpl/desk/screensaver.c  (revision 54086)
  820. +++ dll/cpl/desk/screensaver.c  (working copy)
  821. @@ -108,7 +108,7 @@
  822.      STARTUPINFO si;
  823.      TCHAR szCmdline[2048];
  824.  
  825. -    /* kill off the previous preview process*/
  826. +    /* Kill off the previous preview process*/
  827.      if (pData->PrevWindowPi.hProcess)
  828.      {
  829.          TerminateProcess(pData->PrevWindowPi.hProcess, 0);
  830. @@ -214,7 +214,7 @@
  831.                       &si,
  832.                       &pi))
  833.      {
  834. -        /* kill off the previous preview process */
  835. +        /* Kill off the previous preview process */
  836.          if (pData->PrevWindowPi.hProcess)
  837.          {
  838.              TerminateProcess(pData->PrevWindowPi.hProcess, 0);
  839. @@ -243,7 +243,7 @@
  840.      if (pData->Selection < 1)
  841.          return;
  842.  
  843. -    /* kill off the previous preview process*/
  844. +    /* Kill off the previous preview process*/
  845.      if (pData->PrevWindowPi.hProcess)
  846.      {
  847.          TerminateProcess(pData->PrevWindowPi.hProcess, 0);
  848. @@ -473,7 +473,7 @@
  849.          TCHAR szTime[256], Sec;
  850.          UINT Ret;
  851.  
  852. -        /* set the screensaver */
  853. +        /* Set the screensaver */
  854.          if (pData->ScreenSaverItems[pData->Selection].bIsScreenSaver)
  855.          {
  856.              RegSetValueEx(regKey,
  857. @@ -512,7 +512,7 @@
  858.  
  859.          SystemParametersInfoW(SPI_SETSCREENSAVETIMEOUT, Time, 0, SPIF_SENDCHANGE);
  860.  
  861. -        /* set the secure value */
  862. +        /* Set the secure value */
  863.          Ret = SendDlgItemMessage(hwndDlg,
  864.                                   IDC_SCREENS_USEPASSCHK,
  865.                                   BM_GETCHECK,
  866. @@ -565,7 +565,7 @@
  867.  
  868.      CheckRegScreenSaverIsSecure(hwndDlg);
  869.  
  870. -    /* set the current screensaver in the combo box */
  871. +    /* Set the current screensaver in the combo box */
  872.      lpCurSs = GetCurrentScreenSaverValue(_T("SCRNSAVE.EXE"));
  873.      if (lpCurSs)
  874.      {
  875. @@ -607,14 +607,14 @@
  876.      }
  877.      else
  878.      {
  879. -        /* set screensaver to (none) */
  880. +        /* Set screensaver to (none) */
  881.          SendMessage(hwndSSCombo,
  882.                      CB_SETCURSEL,
  883.                      0,
  884.                      0);
  885.      }
  886.  
  887. -    /* set the current timeout */
  888. +    /* Set the current timeout */
  889.      lpCurSs = GetCurrentScreenSaverValue(_T("ScreenSaveTimeOut"));
  890.      if (lpCurSs)
  891.      {
  892. @@ -755,7 +755,7 @@
  893.  
  894.                  case PSN_SETACTIVE:
  895.                  {
  896. -                    /* activate screen saver support */
  897. +                    /* Activate screen saver support */
  898.                      SystemParametersInfoW(SPI_SETSCREENSAVEACTIVE, TRUE, 0, SPIF_SENDCHANGE);
  899.                      SetScreenSaverPreviewBox(hwndDlg, pData);
  900.                      break;
  901. @@ -780,4 +780,4 @@
  902.      }
  903.  
  904.      return FALSE;
  905. -}
  906. +}
  907. \ No newline at end of file
  908. Index: dll/cpl/desk/settings.c
  909. ===================================================================
  910. --- dll/cpl/desk/settings.c (revision 54086)
  911. +++ dll/cpl/desk/settings.c (working copy)
  912. @@ -336,7 +336,7 @@
  913.                    1,
  914.                    (LPARAM)&monitors);
  915.     }
  916. -   else /* FIXME: incomplete! */
  917. +   else /* FIXME: Incomplete! */
  918.     {
  919.         PMONSL_MONINFO pMonitors;
  920.         DWORD i;
  921. @@ -424,7 +424,7 @@
  922.  static VOID
  923.  OnBPPChanged(IN HWND hwndDlg, IN PDATA pData)
  924.  {
  925. -   /* if new BPP is not compatible with resolution:
  926. +   /* If new BPP is not compatible with resolution:
  927.      * 1) try to find the nearest smaller matching resolution
  928.      * 2) otherwise, get the nearest bigger resolution
  929.      */
  930. @@ -444,11 +444,11 @@
  931.     GetClientRect(hSpectrumControl, &client);
  932.     ShowColorSpectrum(hSpectrumDC, &client, dmNewBitsPerPel, pData);
  933.  
  934. -   /* find if new parameters are valid */
  935. +   /* Find if new parameters are valid */
  936.     Current = pData->CurrentDisplayDevice->CurrentSettings;
  937.     if (dmNewBitsPerPel == Current->dmBitsPerPel)
  938.     {
  939. -       /* no change */
  940. +       /* No change */
  941.         return;
  942.     }
  943.  
  944. @@ -487,7 +487,7 @@
  945.         }
  946.     }
  947.  
  948. -   /* search smaller resolution compatible with current color depth */
  949. +   /* Search smaller resolution compatible with current color depth */
  950.     Current = pData->CurrentDisplayDevice->CurrentSettings->Blink;
  951.     while (Current != NULL)
  952.     {
  953. @@ -500,7 +500,7 @@
  954.         Current = Current->Blink;
  955.     }
  956.  
  957. -   /* search bigger resolution compatible with current color depth */
  958. +   /* Search bigger resolution compatible with current color depth */
  959.     Current = pData->CurrentDisplayDevice->CurrentSettings->Flink;
  960.     while (Current != NULL)
  961.     {
  962. @@ -513,14 +513,14 @@
  963.         Current = Current->Flink;
  964.     }
  965.  
  966. -   /* we shouldn't go there */
  967. +   /* We shouldn't go there */
  968.  }
  969.  
  970.  static VOID
  971.  OnResolutionChanged(IN HWND hwndDlg, IN PDATA pData, IN DWORD NewPosition,
  972.                      IN BOOL bUpdateThumb)
  973.  {
  974. -   /* if new resolution is not compatible with color depth:
  975. +   /* If new resolution is not compatible with color depth:
  976.      * 1) try to find the nearest bigger matching color depth
  977.      * 2) otherwise, get the nearest smaller color depth
  978.      */
  979. @@ -528,11 +528,11 @@
  980.     DWORD dmNewPelsHeight = pData->CurrentDisplayDevice->Resolutions[NewPosition].dmPelsHeight;
  981.     DWORD dmNewPelsWidth = pData->CurrentDisplayDevice->Resolutions[NewPosition].dmPelsWidth;
  982.  
  983. -   /* find if new parameters are valid */
  984. +   /* Find if new parameters are valid */
  985.     Current = pData->CurrentDisplayDevice->CurrentSettings;
  986.     if (dmNewPelsHeight == Current->dmPelsHeight && dmNewPelsWidth == Current->dmPelsWidth)
  987.     {
  988. -       /* no change */
  989. +       /* No change */
  990.         return;
  991.     }
  992.  
  993. @@ -571,7 +571,7 @@
  994.         }
  995.     }
  996.  
  997. -   /* search bigger color depth compatible with current resolution */
  998. +   /* Search bigger color depth compatible with current resolution */
  999.     Current = pData->CurrentDisplayDevice->CurrentSettings->Flink;
  1000.     while (Current != NULL)
  1001.     {
  1002. @@ -584,7 +584,7 @@
  1003.         Current = Current->Flink;
  1004.     }
  1005.  
  1006. -   /* search smaller color depth compatible with current resolution */
  1007. +   /* Search smaller color depth compatible with current resolution */
  1008.     Current = pData->CurrentDisplayDevice->CurrentSettings->Blink;
  1009.     while (Current != NULL)
  1010.     {
  1011. @@ -597,7 +597,7 @@
  1012.         Current = Current->Blink;
  1013.     }
  1014.  
  1015. -   /* we shouldn't go there */
  1016. +   /* We shouldn't go there */
  1017.  }
  1018.  
  1019.  /* Property sheet page callback */
  1020. @@ -858,4 +858,4 @@
  1021.         }
  1022.     }
  1023.     return FALSE;
  1024. -}
  1025. +}
  1026. \ No newline at end of file
  1027. Index: dll/cpl/desk/theme.c
  1028. ===================================================================
  1029. --- dll/cpl/desk/theme.c    (revision 54086)
  1030. +++ dll/cpl/desk/theme.c    (working copy)
  1031. @@ -122,7 +122,7 @@
  1032.     scheme->Effects.bTooltipAnimation  = scheme->Effects.bMenuAnimation;
  1033.     scheme->Effects.bTooltipFade       = scheme->Effects.bMenuFade;
  1034.  
  1035. -   /* show content of windows during dragging */
  1036. +   /* Show content of windows during dragging */
  1037.     SystemParametersInfo(SPI_GETDRAGFULLWINDOWS, 0, &scheme->Effects.bDragFullWindows, 0);
  1038.  
  1039.     /* "Hide underlined letters for keyboard navigation until I press the Alt key" */
  1040. @@ -306,7 +306,7 @@
  1041.  
  1042.  BOOL SaveScheme(COLOR_SCHEME* scheme, LPCTSTR strLegacyName)
  1043.  {
  1044. -   /* FIXME: implement */
  1045. +   /* FIXME: Implement */
  1046.     return FALSE;
  1047.  }
  1048.  
  1049. @@ -341,7 +341,7 @@
  1050.         while((RegEnumKeyEx(hkNewSchemes, iStyle, g_ColorSchemes[iTemplateIndex].strKeyName, &dwLength,
  1051.                             NULL, NULL, NULL, &ftLastWriteTime) == ERROR_SUCCESS) && (iTemplateIndex < MAX_TEMPLATES))
  1052.         {
  1053. -           /* is it really a template or one of the other entries */
  1054. +           /* Is it really a template or one of the other entries */
  1055.             if (dwLength <= 4)
  1056.             {
  1057.                 if (RegOpenKeyEx(hkNewSchemes, g_ColorSchemes[iTemplateIndex].strKeyName, 0, KEY_READ, &hkScheme) == ERROR_SUCCESS)
  1058. Index: dll/cpl/hdwwiz/hdwwiz.c
  1059. ===================================================================
  1060. --- dll/cpl/hdwwiz/hdwwiz.c (revision 54086)
  1061. +++ dll/cpl/hdwwiz/hdwwiz.c (working copy)
  1062. @@ -319,7 +319,7 @@
  1063.  
  1064.      if (hDevInfo == INVALID_HANDLE_VALUE) return;
  1065.  
  1066. -    /* get the device image List */
  1067. +    /* Get the device image List */
  1068.      ImageListData.cbSize = sizeof(ImageListData);
  1069.      SetupDiGetClassImageList(&ImageListData);
  1070.  
  1071. @@ -335,7 +335,7 @@
  1072.              if (ulStatus & DN_NO_SHOW_IN_DM) continue;
  1073.          }
  1074.  
  1075. -        /* get the device's friendly name */
  1076. +        /* Get the device's friendly name */
  1077.          if (!SetupDiGetDeviceRegistryProperty(hDevInfo,
  1078.                                                &DevInfoData,
  1079.                                                SPDRP_FRIENDLYNAME,
  1080. @@ -344,7 +344,7 @@
  1081.                                                MAX_STR_SIZE,
  1082.                                                NULL))
  1083.          {
  1084. -            /* if the friendly name fails, try the description instead */
  1085. +            /* If the friendly name fails, try the description instead */
  1086.              SetupDiGetDeviceRegistryProperty(hDevInfo,
  1087.                                               &DevInfoData,
  1088.                                               SPDRP_DEVICEDESC,
  1089. @@ -574,7 +574,7 @@
  1090.                                 0);
  1091.      if (Ret != CR_SUCCESS)
  1092.      {
  1093. -        /* all classes enumerated */
  1094. +        /* All classes enumerated */
  1095.          if(Ret == CR_NO_SUCH_VALUE)
  1096.          {
  1097.              hDevInfoTypes = NULL;
  1098. @@ -583,10 +583,10 @@
  1099.  
  1100.          if (Ret == CR_INVALID_DATA)
  1101.          {
  1102. -            ; /*FIXME: what should we do here? */
  1103. +            ; /*FIXME: What should we do here? */
  1104.          }
  1105.  
  1106. -        /* handle other errors... */
  1107. +        /* Handle other errors... */
  1108.      }
  1109.  
  1110.      if (SetupDiClassNameFromGuid(&ClassGuid,
  1111. @@ -601,9 +601,9 @@
  1112.                                     &ClassGuid,
  1113.                                     ClassImage))
  1114.      {
  1115. -        /* FIXME: can we do this?
  1116. +        /* FIXME: Can we do this?
  1117.           * Set the blank icon: IDI_SETUPAPI_BLANK = 41
  1118. -         * it'll be image 24 in the imagelist */
  1119. +         * It'll be image 24 in the imagelist */
  1120.         *ClassImage = 24;
  1121.     }
  1122.  
  1123. @@ -696,7 +696,7 @@
  1124.  
  1125.             (VOID) ListView_InsertItem(hList, &Item);
  1126.  
  1127. -            /* kill InfoList initialized in EnumDeviceClasses */
  1128. +            /* Kill InfoList initialized in EnumDeviceClasses */
  1129.             if (hDevInfoTypes)
  1130.             {
  1131.                 SetupDiDestroyDeviceInfoList(hDevInfoTypes);
  1132. @@ -971,4 +971,4 @@
  1133.     }
  1134.  
  1135.     return TRUE;
  1136. -}
  1137. +}
  1138. \ No newline at end of file
  1139. Index: dll/cpl/inetcpl/content.c
  1140. ===================================================================
  1141. --- dll/cpl/inetcpl/content.c   (revision 54086)
  1142. +++ dll/cpl/inetcpl/content.c   (working copy)
  1143. @@ -96,4 +96,4 @@
  1144.         }
  1145.     }
  1146.     return FALSE;
  1147. -}
  1148. +}
  1149. \ No newline at end of file
  1150. Index: dll/cpl/inetcpl/general.c
  1151. ===================================================================
  1152. --- dll/cpl/inetcpl/general.c   (revision 54086)
  1153. +++ dll/cpl/inetcpl/general.c   (working copy)
  1154. @@ -42,7 +42,7 @@
  1155.                                     'I','n','t','e','r','n','e','t',' ','E','x','p','l','o','r','e','r','\\',
  1156.                                     'M','a','i','n',0};
  1157.  
  1158. -/* list of unimplemented buttons */
  1159. +/* List of unimplemented buttons */
  1160. static DWORD disabled_general_buttons[] = {IDC_HOME_CURRENT,
  1161.                                            IDC_HOME_DEFAULT,
  1162.                                            IDC_HISTORY_SETTINGS,
  1163. @@ -165,7 +165,7 @@
  1164.     switch (wparam)
  1165.     {
  1166.         case MAKEWPARAM(IDC_HOME_EDIT, EN_CHANGE):
  1167. -            /* enable apply button */
  1168. +            /* Enable apply button */
  1169.             SendMessageW(GetParent(hwnd), PSM_CHANGED, (WPARAM)hwnd, 0);
  1170.             break;
  1171.  
  1172. @@ -199,14 +199,14 @@
  1173.     LONG res;
  1174.     DWORD *ptr = disabled_general_buttons;
  1175.  
  1176. -    /* disable unimplemented buttons */
  1177. +    /* Disable unimplemented buttons */
  1178.     while (*ptr)
  1179.     {
  1180.         EnableWindow(GetDlgItem(hwnd, *ptr), FALSE);
  1181.         ptr++;
  1182.     }
  1183.  
  1184. -    /* read current homepage from the registry. Try HCU first, then HKLM */
  1185. +    /* Read current homepage from the registry. Try HCU first, then HKLM */
  1186.     *buffer = 0;
  1187.     len = sizeof(buffer);
  1188.     type = REG_SZ;
  1189. @@ -248,11 +248,11 @@
  1190.         {
  1191.             HKEY hkey;
  1192.  
  1193. -            /* update the dialog, when needed */
  1194. +            /* Update the dialog, when needed */
  1195.             if (lstrcmpW(buffer, parsed))
  1196.                 SetDlgItemTextW(hwnd, IDC_HOME_EDIT, parsed);
  1197.  
  1198. -            /* update the registry */
  1199. +            /* Update the registry */
  1200.             res = RegOpenKeyW(HKEY_CURRENT_USER, reg_ie_main, &hkey);
  1201.             if (!res)
  1202.             {
  1203. @@ -286,12 +286,11 @@
  1204.             return general_on_notify(hwnd, wparam, lparam);
  1205.  
  1206.         default:
  1207. -            /* do not flood the log */
  1208. +            /* Do not flood the log */
  1209.             if ((msg == WM_SETCURSOR) || (msg == WM_NCHITTEST) || (msg == WM_MOUSEMOVE))
  1210.                 return FALSE;
  1211.  
  1212.             TRACE("(%p, 0x%08x/%d, 0x%lx, 0x%lx)\n", hwnd, msg, msg, wparam, lparam);
  1213. -
  1214.     }
  1215.     return FALSE;
  1216. -}
  1217. +}
  1218. \ No newline at end of file
  1219. Index: dll/cpl/inetcpl/inetcpl.c
  1220. ===================================================================
  1221. --- dll/cpl/inetcpl/inetcpl.c   (revision 54086)
  1222. +++ dll/cpl/inetcpl/inetcpl.c   (working copy)
  1223. @@ -129,7 +129,7 @@
  1224.     psh.u3.ppsp = psp;
  1225.     psh.pfnCallback = propsheet_callback;
  1226.  
  1227. -    /* display the dialog */
  1228. +    /* Display the dialog */
  1229.     PropertySheetW(&psh);
  1230.  
  1231.     OleUninitialize();
  1232. @@ -200,4 +200,4 @@
  1233. {
  1234.     display_cpl_sheets(parent);
  1235.     return TRUE;
  1236. -}
  1237. +}
  1238. \ No newline at end of file
  1239. Index: dll/cpl/inetcpl/inetcpl.h
  1240. ===================================================================
  1241. --- dll/cpl/inetcpl/inetcpl.h   (revision 54086)
  1242. +++ dll/cpl/inetcpl/inetcpl.h   (working copy)
  1243. @@ -52,10 +52,10 @@
  1244.  
  1245. #define NUM_PROPERTY_PAGES 8
  1246.  
  1247. -/* icons */
  1248. +/* Icons */
  1249. #define ICO_MAIN            100
  1250.  
  1251. -/* strings */
  1252. +/* Strings */
  1253. #define IDS_CPL_NAME        1
  1254. #define IDS_CPL_INFO        2
  1255. #define IDS_SEC_SETTINGS    0x10
  1256. @@ -72,7 +72,7 @@
  1257. #define IDS_SEC_LEVEL4_INFO 0x240
  1258. #define IDS_SEC_LEVEL5_INFO 0x250
  1259.  
  1260. -/* dialogs */
  1261. +/* Dialogs */
  1262. #define IDC_STATIC          -1
  1263.  
  1264. #define IDD_GENERAL         1000
  1265. Index: dll/cpl/inetcpl/security.c
  1266. ===================================================================
  1267. --- dll/cpl/inetcpl/security.c  (revision 54086)
  1268. +++ dll/cpl/inetcpl/security.c  (working copy)
  1269. @@ -42,9 +42,9 @@
  1270. WINE_DEFAULT_DEBUG_CHANNEL(inetcpl);
  1271.  
  1272. typedef struct secdlg_data_s {
  1273. -    HWND hsec;  /* security propsheet */
  1274. -    HWND hlv;   /* listview */
  1275. -    HWND htb;   /* trackbar */
  1276. +    HWND hsec;  /* Security propsheet */
  1277. +    HWND hlv;   /* Listview */
  1278. +    HWND htb;   /* Trackbar */
  1279.     IInternetSecurityManager *sec_mgr;
  1280.     IInternetZoneManager *zone_mgr;
  1281.     DWORD zone_enumerator;
  1282. @@ -79,7 +79,7 @@
  1283.     while((index > 0) && (url_templates[index-1] != value))
  1284.         index--;
  1285.  
  1286. -    index--; /* table entries are 0 based */
  1287. +    index--; /* Table entries are 0 based */
  1288.     if (!index && value)
  1289.         FIXME("URLTEMPLATE 0x%x not supported\n", value);
  1290.  
  1291. @@ -99,7 +99,7 @@
  1292.     TRACE("(%p, lv_index: %u, tb_index: %u)\n", sd, lv_index, tb_index);
  1293.  
  1294.     if ((sd->levels[lv_index] != sd->last_level) || (tb_index > 0)) {
  1295. -        /* show or hide the trackbar */
  1296. +        /* Show or hide the trackbar */
  1297.         if (!sd->levels[lv_index] || !sd->last_level)
  1298.             ShowWindow(sd->htb, sd->levels[lv_index] ? SW_NORMAL : SW_HIDE);
  1299.  
  1300. @@ -192,7 +192,7 @@
  1301.         lvitem.pszText = za->szDisplayName;
  1302.         lvitem.lParam = (LPARAM) zone;
  1303.  
  1304. -        /* format is "filename.ext#iconid" */
  1305. +        /* Format is "filename.ext#iconid" */
  1306.         ptr = StrChrW(za->szIconPath, '#');
  1307.          if (ptr) {
  1308.              *ptr = 0;
  1309. @@ -208,7 +208,7 @@
  1310.                  FIXME("item %d (zone %d): missing icon #%d in %s\n", lv_index, zone, iconid, debugstr_w(za->szIconPath));
  1311.              }
  1312.  
  1313. -            /* the failure result (NULL) from LoadImageW let ImageList_AddIcon fail
  1314. +            /* The failure result (NULL) from LoadImageW let ImageList_AddIcon fail
  1315.                 with -1, which is reused in ListView_InsertItemW to disable the image */
  1316.              lvitem.iImage = ImageList_AddIcon(sd->himages, icon);
  1317.          }
  1318. @@ -216,7 +216,7 @@
  1319.              FIXME("item %d (zone %d): malformed szIconPath %s\n", lv_index, zone, debugstr_w(za->szIconPath));
  1320.  
  1321.          if (ListView_InsertItemW(sd->hlv, &lvitem) >= 0) {
  1322. -            /* activate first item in the listview */
  1323. +            /* Activate first item in the listview */
  1324.              if (! lv_index) {
  1325.                  lvitem.state = LVIS_FOCUSED | LVIS_SELECTED;
  1326.                  lvitem.stateMask = LVIS_FOCUSED | LVIS_SELECTED;
  1327. @@ -316,7 +316,7 @@
  1328.      sd->hlv = GetDlgItem(hsec, IDC_SEC_LISTVIEW);
  1329.      sd->htb = GetDlgItem(hsec, IDC_SEC_TRACKBAR);
  1330.  
  1331. -    EnableWindow(sd->htb, FALSE); /* not changeable yet */
  1332. +    EnableWindow(sd->htb, FALSE); /* Not changeable yet */
  1333.  
  1334.      TRACE("(%p)   (data: %p, listview: %p, trackbar: %p)\n", hsec, sd, sd->hlv, sd->htb);
  1335.  
  1336. @@ -342,14 +342,14 @@
  1337.  
  1338.      TRACE("found %d zones\n", sd->num_zones);
  1339.  
  1340. -    /* remember ZONEATTRIBUTES for a listview entry */
  1341. +    /* Remember ZONEATTRIBUTES for a listview entry */
  1342.      sd->zone_attr = heap_alloc(sizeof(ZONEATTRIBUTES) * sd->num_zones);
  1343.      if (!sd->zone_attr) {
  1344.          security_on_destroy(sd);
  1345.          return FALSE;
  1346.      }
  1347.  
  1348. -    /* remember zone number and current security level for a listview entry */
  1349. +    /* Remember zone number and current security level for a listview entry */
  1350.      sd->zones = heap_alloc((sizeof(DWORD) + sizeof(DWORD)) * sd->num_zones);
  1351.      if (!sd->zones) {
  1352.          security_on_destroy(sd);
  1353. @@ -357,7 +357,7 @@
  1354.      }
  1355.      sd->levels = &sd->zones[sd->num_zones];
  1356.  
  1357. -    /* use the same order as visible with native inetcpl.cpl */
  1358. +    /* Use the same order as visible with native inetcpl.cpl */
  1359.      add_zone_to_listview(sd, &lv_index, URLZONE_INTERNET);
  1360.      add_zone_to_listview(sd, &lv_index, URLZONE_INTRANET);
  1361.      add_zone_to_listview(sd, &lv_index, URLZONE_TRUSTED);
  1362. @@ -432,7 +432,7 @@
  1363.                  return security_on_destroy(sd);
  1364.  
  1365.              default:
  1366. -                /* do not flood the log */
  1367. +                /* Do not flood the log */
  1368.                  if ((msg == WM_SETCURSOR) || (msg == WM_NCHITTEST) ||
  1369.                      (msg == WM_MOUSEMOVE) || (msg == WM_MOUSEACTIVATE) || (msg == WM_PARENTNOTIFY))
  1370.                      return FALSE;
  1371. @@ -441,4 +441,4 @@
  1372.          }
  1373.      }
  1374.      return FALSE;
  1375. -}
  1376. +}
  1377. \ No newline at end of file
  1378. Index: dll/cpl/input/resource.h
  1379. ===================================================================
  1380. --- dll/cpl/input/resource.h    (revision 54086)
  1381. +++ dll/cpl/input/resource.h    (working copy)
  1382. @@ -1,6 +1,6 @@
  1383.  #pragma once
  1384.  
  1385. -/* metrics */
  1386. +/* Metrics */
  1387.  #define PROPSHEETWIDTH                                  252
  1388.  #define PROPSHEETHEIGHT                                 228
  1389.  #define PROPSHEETPADDING                                6
  1390. Index: dll/cpl/input/settings.c
  1391. ===================================================================
  1392. --- dll/cpl/input/settings.c    (revision 54086)
  1393. +++ dll/cpl/input/settings.c    (working copy)
  1394. @@ -545,7 +545,7 @@
  1395.      _ultot(OldLayoutNum, szLayoutNum, 10);
  1396.      if (!GetLayoutID(szLayoutNum, szLayoutID)) return;
  1397.  
  1398. -    // if old layout = selected layout
  1399. +    // If old layout = selected layout
  1400.      if (_tcscmp(szLayoutID, pts) == 0) return;
  1401.  
  1402.      if (RegOpenKeyEx(HKEY_CURRENT_USER, _T("Keyboard Layout\\Preload"), 0,
  1403. Index: dll/cpl/intl/currency.c
  1404. ===================================================================
  1405. --- dll/cpl/intl/currency.c (revision 54086)
  1406. +++ dll/cpl/intl/currency.c (working copy)
  1407. @@ -36,14 +36,14 @@
  1408.  {
  1409.      TCHAR szBuffer[MAX_FMT_SIZE];
  1410.  
  1411. -    /* positive example */
  1412. +    /* Positive example */
  1413.      GetCurrencyFormat(pGlobalData->lcid, 0,
  1414.                        POSITIVE_EXAMPLE,
  1415.                        NULL, szBuffer, MAX_FMT_SIZE);
  1416.  
  1417.      SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYPOSSAMPLE), WM_SETTEXT, 0, (LPARAM)szBuffer);
  1418.  
  1419. -    /* negative example */
  1420. +    /* Negative example */
  1421.      GetCurrencyFormat(pGlobalData->lcid, 0,
  1422.                        NEGATIVE_EXAMPLE,
  1423.                        NULL, szBuffer, MAX_FMT_SIZE);
  1424. @@ -75,7 +75,7 @@
  1425.  
  1426.      SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYSYMBOL),
  1427.                  CB_SETCURSEL,
  1428. -                0, /* index */
  1429. +                0, /* Index */
  1430.                  0);
  1431.  }
  1432.  
  1433. @@ -251,7 +251,7 @@
  1434.                    LOCALE_SMONDECIMALSEP,
  1435.                    szBuffer, MAX_FMT_SIZE);
  1436.  
  1437. -    /* decimal separator */
  1438. +    /* Decimal separator */
  1439.      SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYDECSEP),
  1440.                  CB_ADDSTRING,
  1441.                  0,
  1442. @@ -259,7 +259,7 @@
  1443.  
  1444.      SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYDECSEP),
  1445.                  CB_SETCURSEL,
  1446. -                0, /* index */
  1447. +                0, /* Index */
  1448.                  0);
  1449.  }
  1450.  
  1451. @@ -321,7 +321,7 @@
  1452.                    LOCALE_SMONTHOUSANDSEP,
  1453.                    szBuffer, MAX_FMT_SIZE);
  1454.  
  1455. -    /* digit group separator */
  1456. +    /* Digit group separator */
  1457.      SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYGRPSEP),
  1458.                  CB_ADDSTRING,
  1459.                  0,
  1460. @@ -329,7 +329,7 @@
  1461.  
  1462.      SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYGRPSEP),
  1463.                  CB_SETCURSEL,
  1464. -                0, /* index */
  1465. +                0, /* Index */
  1466.                  0);
  1467.  }
  1468.  
  1469. @@ -353,7 +353,7 @@
  1470.                    LOCALE_SMONGROUPING,
  1471.                    szGrouping, MAX_FMT_SIZE);
  1472.  
  1473. -    /* digit grouping */
  1474. +    /* Digit grouping */
  1475.      cyFmt.NumDigits = 0;
  1476.      cyFmt.LeadingZero = 0;
  1477.      cyFmt.lpDecimalSep = _T("");
  1478. @@ -400,7 +400,7 @@
  1479.  
  1480.      SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYGRPNUM),
  1481.                  CB_SETCURSEL,
  1482. -                i, /* index */
  1483. +                i, /* Index */
  1484.                  0);
  1485.  }
  1486.  
  1487. @@ -462,7 +462,7 @@
  1488.                             (WPARAM)0,
  1489.                             (LPARAM)0);
  1490.  
  1491. -    /* convert to wide char */
  1492. +    /* Convert to wide char */
  1493.      _itot(nCurrSel, szCurrencyFracSymNum, DECIMAL_RADIX);
  1494.  
  1495.      /* Save number of fractional symbols */
  1496. @@ -504,7 +504,7 @@
  1497.                             (WPARAM)0,
  1498.                             (LPARAM)0);
  1499.  
  1500. -    /* convert to wide char */
  1501. +    /* Convert to wide char */
  1502.      _itot(nCurrSel, szNegCurrencySumFmt, DECIMAL_RADIX);
  1503.  
  1504.      /* Save currency sum format */
  1505. @@ -526,7 +526,7 @@
  1506.                             (WPARAM)0,
  1507.                             (LPARAM)0);
  1508.  
  1509. -    /* convert to wide char */
  1510. +    /* Convert to wide char */
  1511.      _itot(nCurrSel, szPosCurrencySumFmt, DECIMAL_RADIX);
  1512.  
  1513.      /* Save currency sum format */
  1514. @@ -630,8 +630,7 @@
  1515.              }
  1516.              break;
  1517.      }
  1518. -
  1519.      return FALSE;
  1520.  }
  1521.  
  1522. -/* EOF */
  1523. +/* EOF */
  1524. \ No newline at end of file
  1525. Index: dll/cpl/intl/date.c
  1526. ===================================================================
  1527. --- dll/cpl/intl/date.c (revision 54086)
  1528. +++ dll/cpl/intl/date.c (working copy)
  1529. @@ -38,7 +38,7 @@
  1530.  
  1531.  /* FUNCTIONS ****************************************************************/
  1532.  
  1533. -/* if char is 'y' or 'M' or 'd' return TRUE, else FALSE */
  1534. +/* If char is 'y' or 'M' or 'd' return TRUE, else FALSE */
  1535.  BOOL
  1536.  isDateCompAl(TCHAR alpha)
  1537.  {
  1538. @@ -173,7 +173,7 @@
  1539.          return FALSE;
  1540.      }
  1541.  
  1542. -    /* substring replacement of separator */
  1543. +    /* Substring replacement of separator */
  1544.      _tcscpy(szFindedDateSep, FindDateSep(szShortDateFmt));
  1545.      pszResultStr = ReplaceSubStr(szShortDateFmt, szShortDateSep, szFindedDateSep);
  1546.      _tcscpy(szShortDateFmt, pszResultStr);
  1547. @@ -278,7 +278,7 @@
  1548.                             -1,
  1549.                             (LPARAM)szShortDateSep);
  1550.  
  1551. -    /* if is not success, add new value to list and select them */
  1552. +    /* If it is not successful, add new value to list and select them */
  1553.      if (nRetCode == CB_ERR)
  1554.      {
  1555.          SendMessage(GetDlgItem(hwndDlg, IDC_SHRTDATESEP_COMBO),
  1556. @@ -342,7 +342,7 @@
  1557.                             -1,
  1558.                             (LPARAM)szShortDateFmt);
  1559.  
  1560. -    /* if is not success, add new value to list and select them */
  1561. +    /* If it is not successful, add new value to list and select them */
  1562.      if (nRetCode == CB_ERR)
  1563.      {
  1564.          SendMessage(GetDlgItem(hwndDlg, IDC_SHRTDATEFMT_COMBO),
  1565. @@ -391,7 +391,7 @@
  1566.                             -1,
  1567.                             (LPARAM)szLongDateFmt);
  1568.  
  1569. -    /* if is not success, add new value to list and select them */
  1570. +    /* If it is not successful, add new value to list and select them */
  1571.      if (nRetCode == CB_ERR)
  1572.      {
  1573.          SendMessage(GetDlgItem(hwndDlg, IDC_LONGDATEFMT_COMBO),
  1574. @@ -619,4 +619,4 @@
  1575.      return FALSE;
  1576.  }
  1577.  
  1578. -/* EOF */
  1579. +/* EOF */
  1580. \ No newline at end of file
  1581. Index: dll/cpl/intl/generalp.c
  1582. ===================================================================
  1583. --- dll/cpl/intl/generalp.c (revision 54086)
  1584. +++ dll/cpl/intl/generalp.c (working copy)
  1585. @@ -176,7 +176,7 @@
  1586.      ret = RegOpenKey(HKEY_CURRENT_USER, _T("Control Panel\\International"), &localeKey);
  1587.      if (ret != ERROR_SUCCESS)
  1588.      {
  1589. -        // some serious error
  1590. +        // Some serious error
  1591.          MessageBox(NULL, _T("Problem opening HKCU\\Control Panel\\International key"),
  1592.                     _T("Big Problem"), MB_OK);
  1593.          return;
  1594. @@ -191,7 +191,7 @@
  1595.      ret = RegOpenKey(HKEY_USERS, _T(".DEFAULT\\Control Panel\\International"), &localeKey);
  1596.      if (ret != ERROR_SUCCESS)
  1597.      {
  1598. -        // some serious error
  1599. +        // Some serious error
  1600.          MessageBox(NULL, _T("Problem opening HKU\\.DEFAULT\\Control Panel\\International key"),
  1601.                     _T("Big Problem"), MB_OK);
  1602.          return;
  1603. @@ -451,5 +451,4 @@
  1604.      return FALSE;
  1605.  }
  1606.  
  1607. -
  1608. -/* EOF */
  1609. +/* EOF */
  1610. \ No newline at end of file
  1611. Index: dll/cpl/intl/inplocale.c
  1612. ===================================================================
  1613. --- dll/cpl/intl/inplocale.c    (revision 54086)
  1614. +++ dll/cpl/intl/inplocale.c    (working copy)
  1615. @@ -41,4 +41,4 @@
  1616.      return FALSE;
  1617.  }
  1618.  
  1619. -/* EOF */
  1620. +/* EOF */
  1621. \ No newline at end of file
  1622. Index: dll/cpl/intl/intl.c
  1623. ===================================================================
  1624. --- dll/cpl/intl/intl.c (revision 54086)
  1625. +++ dll/cpl/intl/intl.c (working copy)
  1626. @@ -206,5 +206,4 @@
  1627.      }
  1628.  
  1629.    return TRUE;
  1630. -}
  1631. -
  1632. +}
  1633. \ No newline at end of file
  1634. Index: dll/cpl/intl/intl.h
  1635. ===================================================================
  1636. --- dll/cpl/intl/intl.h (revision 54086)
  1637. +++ dll/cpl/intl/intl.h (working copy)
  1638. @@ -12,7 +12,7 @@
  1639.  
  1640.  #define DECIMAL_RADIX          10
  1641.  
  1642. -/* limits */
  1643. +/* Limits */
  1644.  #define MAX_FMT_SIZE           30
  1645.  #define MAX_STR_SIZE          128
  1646.  #define MAX_SAMPLES_STR_SIZE   70
  1647. @@ -110,4 +110,4 @@
  1648.  /* kblayouts.c */
  1649.  VOID AddNewKbLayoutsByLcid(LCID Lcid);
  1650.  
  1651. -/* EOF */
  1652. +/* EOF */
  1653. \ No newline at end of file
  1654. Index: dll/cpl/intl/kblayouts.c
  1655. ===================================================================
  1656. --- dll/cpl/intl/kblayouts.c    (revision 54086)
  1657. +++ dll/cpl/intl/kblayouts.c    (working copy)
  1658. @@ -238,6 +238,5 @@
  1659.              }
  1660.          }
  1661.      }
  1662. -
  1663.      SetupCloseInfFile(hIntlInf);
  1664. -}
  1665. +}
  1666. \ No newline at end of file
  1667. Index: dll/cpl/intl/languages.c
  1668. ===================================================================
  1669. --- dll/cpl/intl/languages.c    (revision 54086)
  1670. +++ dll/cpl/intl/languages.c    (working copy)
  1671. @@ -40,8 +40,7 @@
  1672.              }
  1673.              break;
  1674.      }
  1675. -
  1676.      return FALSE;
  1677.  }
  1678.  
  1679. -/* EOF */
  1680. +/* EOF */
  1681. \ No newline at end of file
  1682. Index: dll/cpl/intl/misc.c
  1683. ===================================================================
  1684. --- dll/cpl/intl/misc.c (revision 54086)
  1685. +++ dll/cpl/intl/misc.c (working copy)
  1686. @@ -52,7 +52,7 @@
  1687.  
  1688.      _tcscpy(pszDestStr, szSourceStr);
  1689.  
  1690. -    /* if format is clean return source string */
  1691. +    /* If format is clean return source string */
  1692.      if (!*szFmtStr)
  1693.          return pszDestStr;
  1694.  
  1695. @@ -80,12 +80,12 @@
  1696.              szFmtVal[nValCount] = _T('\0');
  1697.              nValCount=0;
  1698.  
  1699. -            /* insert space to finded position plus all pos before */
  1700. +            /* Insert space to finded position plus all pos before */
  1701.              pszTempStr = InsSpacePos(pszDestStr, nSpaceOffset);
  1702.              _tcscpy(pszDestStr,pszTempStr);
  1703.              free(pszTempStr);
  1704.  
  1705. -            /* num of spaces total increment */
  1706. +            /* Num of spaces total increment */
  1707.              if (!wasNul)
  1708.              {
  1709.                  nSpaceOffset++;
  1710. @@ -228,4 +228,4 @@
  1711.      return (LONG)(ret != -1);
  1712.  }
  1713.  
  1714. -/* EOF */
  1715. +/* EOF */
  1716. \ No newline at end of file
  1717. Index: dll/cpl/intl/numbers.c
  1718. ===================================================================
  1719. --- dll/cpl/intl/numbers.c  (revision 54086)
  1720. +++ dll/cpl/intl/numbers.c  (working copy)
  1721. @@ -95,7 +95,7 @@
  1722.                             -1,
  1723.                             (LPARAM)(LPCSTR)szNumSep);
  1724.  
  1725. -    /* if is not success, add new value to list and select them */
  1726. +    /* If it is not successful, add new values to list and select them */
  1727.      if (nRetCode == CB_ERR)
  1728.      {
  1729.          SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERDSYMBOL),
  1730. @@ -132,7 +132,7 @@
  1731.      /* Create standard list of fractional symbols */
  1732.      for (nCBIndex = 0; nCBIndex < MAX_FRAC_NUM_SAMPLES; nCBIndex++)
  1733.      {
  1734. -        /* convert to wide char */
  1735. +        /* Convert to wide char */
  1736.          _itot(nCBIndex, szFracCount, DECIMAL_RADIX);
  1737.  
  1738.          SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSNDIGDEC),
  1739. @@ -189,7 +189,7 @@
  1740.                             -1,
  1741.                             (LPARAM)szFieldSep);
  1742.  
  1743. -    /* if is not success, add new value to list and select them */
  1744. +    /* If it is not success, add new values to list and select them */
  1745.      if (nRetCode == CB_ERR)
  1746.      {
  1747.          SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSDIGITGRSYM),
  1748. @@ -243,7 +243,7 @@
  1749.                             -1,
  1750.                             (LPARAM)pszFieldDigNumSmpl);
  1751.  
  1752. -    /* if is not success, add new value to list and select them */
  1753. +    /* If it is not successful, add new values to list and select them */
  1754.      if (nRetCode == CB_ERR)
  1755.      {
  1756.          SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSDGROUPING),
  1757. @@ -300,7 +300,7 @@
  1758.                             -1,
  1759.                             (LPARAM)szNegSign);
  1760.  
  1761. -    /* if is not success, add new value to list and select them */
  1762. +    /* If  it is not successful, add new values to list and select them */
  1763.      if (nRetCode == CB_ERR)
  1764.      {
  1765.          SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSNSIGNSYM),
  1766. @@ -464,7 +464,7 @@
  1767.                             -1,
  1768.                             (LPARAM)szListSep);
  1769.  
  1770. -    /* if is not success, add new value to list and select them */
  1771. +    /* If it is not successful, add new values to list and select them */
  1772.      if (nRetCode == CB_ERR)
  1773.      {
  1774.          SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSLSEP),
  1775. @@ -584,7 +584,7 @@
  1776.                             (WPARAM)0,
  1777.                             (LPARAM)0);
  1778.  
  1779. -    /* convert to wide char */
  1780. +    /* Convert to wide char */
  1781.      _itot(nCurrSel, szFracSymNum, DECIMAL_RADIX);
  1782.  
  1783.      /* Save number of fractional symbols */
  1784. @@ -687,7 +687,7 @@
  1785.                              (WPARAM)0,
  1786.                              (LPARAM)0);
  1787.  
  1788. -    /* convert to wide char */
  1789. +    /* Convert to wide char */
  1790.      _itot(nCurrSel, szLeadZero, DECIMAL_RADIX);
  1791.  
  1792.      /* Save leading zero format */
  1793. @@ -825,4 +825,4 @@
  1794.      return FALSE;
  1795.  }
  1796.  
  1797. -/* EOF */
  1798. +/* EOF */
  1799. \ No newline at end of file
  1800. Index: dll/cpl/intl/resource.h
  1801. ===================================================================
  1802. --- dll/cpl/intl/resource.h (revision 54086)
  1803. +++ dll/cpl/intl/resource.h (working copy)
  1804. @@ -77,4 +77,4 @@
  1805.  #define IDS_METRIC                        1004
  1806.  #define IDS_IMPERIAL                      1005
  1807.  
  1808. -/* EOF */
  1809. +/* EOF */
  1810. \ No newline at end of file
  1811. Index: dll/cpl/intl/setupreg.c
  1812. ===================================================================
  1813. --- dll/cpl/intl/setupreg.c (revision 54086)
  1814. +++ dll/cpl/intl/setupreg.c (working copy)
  1815. @@ -65,7 +65,7 @@
  1816.  
  1817.      _tcscpy(pszDestStr, szSourceStr);
  1818.  
  1819. -    /* if format is clean return source string */
  1820. +    /* If format is clean return source string */
  1821.      if (!*szFmtStr)
  1822.          return pszDestStr;
  1823.  
  1824. @@ -93,12 +93,12 @@
  1825.              szFmtVal[nValCount] = _T('\0');
  1826.              nValCount=0;
  1827.  
  1828. -            /* insert space to finded position plus all pos before */
  1829. +            /* Insert space to finded position plus all pos before */
  1830.              pszTempStr = InsSpacePos(pszDestStr, nSpaceOffset);
  1831.              _tcscpy(pszDestStr, pszTempStr);
  1832.              free(pszTempStr);
  1833.  
  1834. -            /* num of spaces total increment */
  1835. +            /* Num of spaces total increment */
  1836.              if (!wasNul)
  1837.              {
  1838.                  nSpaceOffset++;
  1839. @@ -228,4 +228,4 @@
  1840.      return (LONG)(PropertySheet(&psh) != -1);
  1841.  }
  1842.  
  1843. -/* EOF */
  1844. +/* EOF */
  1845. \ No newline at end of file
  1846. Index: dll/cpl/intl/sort.c
  1847. ===================================================================
  1848. --- dll/cpl/intl/sort.c (revision 54086)
  1849. +++ dll/cpl/intl/sort.c (working copy)
  1850. @@ -208,4 +208,4 @@
  1851.    return FALSE;
  1852.  }
  1853.  
  1854. -/* EOF */
  1855. +/* EOF */
  1856. \ No newline at end of file
  1857. Index: dll/cpl/intl/time.c
  1858. ===================================================================
  1859. --- dll/cpl/intl/time.c (revision 54086)
  1860. +++ dll/cpl/intl/time.c (working copy)
  1861. @@ -54,26 +54,26 @@
  1862.      int nIndex;
  1863.      HWND hChildWnd;
  1864.  
  1865. -    /* get handle to time format control */
  1866. +    /* Get handle to time format control */
  1867.      hChildWnd = GetDlgItem(hwndDlg, dwIdc);
  1868.      /* Get index to selected time format */
  1869.      nIndex = SendMessage(hChildWnd, CB_GETCURSEL, 0, 0);
  1870.      if (nIndex == CB_ERR)
  1871. -        /* no selection? get content of the edit control */
  1872. +        /* No selection? Get content of the edit control */
  1873.          SendMessage(hChildWnd, WM_GETTEXT, uSize, (LPARAM)Buffer);
  1874.      else {
  1875.          LPTSTR tmp;
  1876.          UINT   uReqSize;
  1877.  
  1878. -        /* get requested size, including the null terminator;
  1879. +        /* Get requested size, including the null terminator;
  1880.           * it shouldn't be required because the previous CB_LIMITTEXT,
  1881.           * but it would be better to check it anyways */
  1882.          uReqSize = SendMessage(hChildWnd, CB_GETLBTEXTLEN, (WPARAM)nIndex, 0) + 1;
  1883. -        /* allocate enough space to be more safe */
  1884. +        /* Allocate enough space to be more safe */
  1885.          tmp = (LPTSTR)_alloca(uReqSize*sizeof(TCHAR));
  1886. -        /* get selected time format text */
  1887. +        /* Get selected time format text */
  1888.          SendMessage(hChildWnd, CB_GETLBTEXT, (WPARAM)nIndex, (LPARAM)tmp);
  1889. -        /* finally, copy the result into the output */
  1890. +        /* Finally, copy the result into the output */
  1891.          _tcsncpy(Buffer, tmp, uSize);
  1892.      }
  1893.  }
  1894. @@ -126,7 +126,7 @@
  1895.                          (LPARAM)Buffer);
  1896.              SendMessage(GetDlgItem(hwndDlg, IDC_TIMESEPARATOR),
  1897.                          CB_SETCURSEL,
  1898. -                        0, /* index */
  1899. +                        0, /* Index */
  1900.                          0);
  1901.  
  1902.              /* Get the AM symbol */
  1903. @@ -146,7 +146,7 @@
  1904.              }
  1905.              SendMessage(GetDlgItem(hwndDlg, IDC_TIMEAMSYMBOL),
  1906.                          CB_SETCURSEL,
  1907. -                        0, /* index */
  1908. +                        0, /* Index */
  1909.                          0);
  1910.  
  1911.              /* Get the PM symbol */
  1912. @@ -166,7 +166,7 @@
  1913.              }
  1914.              SendMessage(GetDlgItem(hwndDlg, IDC_TIMEPMSYMBOL),
  1915.                          CB_SETCURSEL,
  1916. -                        0, /* index */
  1917. +                        0, /* Index */
  1918.                          0);
  1919.          }
  1920.          break;
  1921. @@ -195,25 +195,25 @@
  1922.              {
  1923.                  TCHAR Buffer[80];
  1924.  
  1925. -                /* get selected/typed time format text */
  1926. +                /* Get selected/typed time format text */
  1927.                  GetSelectedComboEntry(hwndDlg, IDC_TIMEFORMAT, Buffer, sizeof(Buffer)/sizeof(TCHAR));
  1928.  
  1929.                  /* Set time format */
  1930.                  SetLocaleInfo(pGlobalData->lcid, LOCALE_STIMEFORMAT, Buffer);
  1931.  
  1932. -                /* get selected/typed time separator text */
  1933. +                /* Get selected/typed time separator text */
  1934.                  GetSelectedComboEntry(hwndDlg, IDC_TIMESEPARATOR, Buffer, sizeof(Buffer)/sizeof(TCHAR));
  1935.  
  1936.                  /* Set time separator */
  1937.                  SetLocaleInfo(pGlobalData->lcid, LOCALE_STIME, Buffer);
  1938.  
  1939. -                /* get selected/typed AM symbol text */
  1940. +                /* Get selected/typed AM symbol text */
  1941.                  GetSelectedComboEntry(hwndDlg, IDC_TIMEAMSYMBOL, Buffer, sizeof(Buffer)/sizeof(TCHAR));
  1942.  
  1943.                  /* Set the AM symbol */
  1944.                  SetLocaleInfo(pGlobalData->lcid, LOCALE_S1159, Buffer);
  1945.  
  1946. -                /* get selected/typed PM symbol text */
  1947. +                /* Get selected/typed PM symbol text */
  1948.                  GetSelectedComboEntry(hwndDlg, IDC_TIMEPMSYMBOL, Buffer, sizeof(Buffer)/sizeof(TCHAR));
  1949.  
  1950.                  /* Set the PM symbol */
  1951. @@ -229,4 +229,4 @@
  1952.      return FALSE;
  1953.  }
  1954.  
  1955. -/* EOF */
  1956. +/* EOF */
  1957. \ No newline at end of file
  1958. Index: dll/cpl/joy/joy.c
  1959. ===================================================================
  1960. --- dll/cpl/joy/joy.c   (revision 54086)
  1961. +++ dll/cpl/joy/joy.c   (working copy)
  1962. @@ -103,7 +103,7 @@
  1963.              switch (LOWORD(wParam))
  1964.              {
  1965.                  case SC_CONTEXTHELP:
  1966. -                    // not implemented
  1967. +                    // Not implemented yet
  1968.                      break;
  1969.              }
  1970.              break;
  1971. @@ -141,7 +141,7 @@
  1972.              switch (LOWORD(wParam))
  1973.              {
  1974.                  case SC_CONTEXTHELP:
  1975. -                    // not implemented
  1976. +                    // Not implemented yet
  1977.                      break;
  1978.              }
  1979.              break;
  1980. @@ -186,7 +186,7 @@
  1981.              switch (LOWORD(wParam))
  1982.              {
  1983.                  case SC_CONTEXTHELP:
  1984. -                    // not implemented
  1985. +                    // Not implemented yet
  1986.                      break;
  1987.              }
  1988.              break;
  1989. @@ -240,7 +240,7 @@
  1990.                      break;
  1991.  
  1992.                  case SC_CONTEXTHELP:
  1993. -                    // not implemented
  1994. +                    // Not implemented yet
  1995.                      break;
  1996.              }
  1997.              break;
  1998. @@ -312,4 +312,4 @@
  1999.      }
  2000.  
  2001.      return TRUE;
  2002. -}
  2003. +}
  2004. \ No newline at end of file
  2005. Index: dll/cpl/joy/joy.h
  2006. ===================================================================
  2007. --- dll/cpl/joy/joy.h   (revision 54086)
  2008. +++ dll/cpl/joy/joy.h   (working copy)
  2009. @@ -34,4 +34,4 @@
  2010.  
  2011.  void ShowLastWin32Error(HWND hWndOwner);
  2012.  
  2013. -/* EOF */
  2014. +/* EOF */
  2015. \ No newline at end of file
  2016. Index: dll/cpl/joy/resource.h
  2017. ===================================================================
  2018. --- dll/cpl/joy/resource.h  (revision 54086)
  2019. +++ dll/cpl/joy/resource.h  (working copy)
  2020. @@ -1,21 +1,21 @@
  2021.  #pragma once
  2022.  
  2023. -/* icons */
  2024. +/* Icons */
  2025.  #define IDI_CPLSYSTEM  102
  2026.  
  2027. -/* dialogs */
  2028. +/* Dialogs */
  2029.  #define IDD_PROPPAGEMAIN       101
  2030.  #define IDD_ADD                    119
  2031.  #define IDD_CUSTOM             4099
  2032.  #define IDD_ADVANCED           8188
  2033.  
  2034. -/* strings */
  2035. +/* Strings */
  2036.  #define IDS_CPLSYSTEMNAME          1076
  2037.  #define IDS_CPLSYSTEMDESCRIPTION   1099
  2038.  #define IDS_CONTROLLER             1151
  2039.  #define IDS_STATUS                 1152
  2040.  
  2041. -/* controls */
  2042. +/* Controls */
  2043.  #define IDC_CONTROLLER_LIST            1020
  2044.  #define IDC_ADD_BUTTON             1011
  2045.  #define IDC_REMOVE_BUTTON          1028
  2046. @@ -38,4 +38,4 @@
  2047.  #define IDC_CONTROLLER_NAME_EDIT   1056
  2048.  #define IDC_PREFERRED_DEV_COMBO        8195
  2049.  
  2050. -/* EOF */
  2051. +/* EOF */
  2052. \ No newline at end of file
  2053. Index: dll/cpl/liccpa/liccpa.c
  2054. ===================================================================
  2055. --- dll/cpl/liccpa/liccpa.c (revision 54086)
  2056. +++ dll/cpl/liccpa/liccpa.c (working copy)
  2057. @@ -113,4 +113,4 @@
  2058.      }
  2059.  
  2060.      return TRUE;
  2061. -}
  2062. +}
  2063. \ No newline at end of file
  2064. Index: dll/cpl/liccpa/liccpa.h
  2065. ===================================================================
  2066. --- dll/cpl/liccpa/liccpa.h (revision 54086)
  2067. +++ dll/cpl/liccpa/liccpa.h (working copy)
  2068. @@ -10,4 +10,4 @@
  2069.  
  2070.  extern HINSTANCE hApplet;
  2071.  
  2072. -/* EOF */
  2073. +/* EOF */
  2074. \ No newline at end of file
  2075. Index: dll/cpl/liccpa/resource.h
  2076. ===================================================================
  2077. --- dll/cpl/liccpa/resource.h   (revision 54086)
  2078. +++ dll/cpl/liccpa/resource.h   (working copy)
  2079. @@ -12,4 +12,4 @@
  2080.  #define IDC_OK         107
  2081.  #define IDC_CANCEL 108
  2082.  
  2083. -/* EOF */
  2084. +/* EOF */
  2085. \ No newline at end of file
  2086. Index: dll/cpl/main/keyboard.c
  2087. ===================================================================
  2088. --- dll/cpl/main/keyboard.c (revision 54086)
  2089. +++ dll/cpl/main/keyboard.c (working copy)
  2090. @@ -329,4 +329,4 @@
  2091.      return ret;
  2092.  }
  2093.  
  2094. -/* EOF */
  2095. +/* EOF */
  2096. \ No newline at end of file
  2097. Index: dll/cpl/main/main.c
  2098. ===================================================================
  2099. --- dll/cpl/main/main.c (revision 54086)
  2100. +++ dll/cpl/main/main.c (working copy)
  2101. @@ -140,5 +140,4 @@
  2102.      }
  2103.  
  2104.      return TRUE;
  2105. -}
  2106. -
  2107. +}
  2108. \ No newline at end of file
  2109. Index: dll/cpl/main/main.h
  2110. ===================================================================
  2111. --- dll/cpl/main/main.h (revision 54086)
  2112. +++ dll/cpl/main/main.h (working copy)
  2113. @@ -60,4 +60,4 @@
  2114.  LONG APIENTRY
  2115.  MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
  2116.  
  2117. -/* EOF */
  2118. +/* EOF */
  2119. \ No newline at end of file
  2120. Index: dll/cpl/main/mouse.c
  2121. ===================================================================
  2122. --- dll/cpl/main/mouse.c    (revision 54086)
  2123. +++ dll/cpl/main/mouse.c    (working copy)
  2124. @@ -26,7 +26,7 @@
  2125.   */
  2126.  
  2127.  //TODO:
  2128. -//  add missing icons
  2129. +//  Add missing icons
  2130.  
  2131.  #include "main.h"
  2132.  
  2133. @@ -399,7 +399,7 @@
  2134.                      case TB_ENDTRACK:
  2135.                          lResult = SendDlgItemMessage(hwndDlg, IDC_SLIDER_DOUBLE_CLICK_SPEED, TBM_GETPOS, 0, 0);
  2136.                          pButtonData->g_DoubleClickSpeed = (14 - (INT)lResult) * 50 + 200;
  2137. -                   //SystemParametersInfo(SPI_SETDOUBLECLICKTIME, pButtonData->g_DoubleClickSpeed, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
  2138. +                       //SystemParametersInfo(SPI_SETDOUBLECLICKTIME, pButtonData->g_DoubleClickSpeed, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
  2139.                          SetDoubleClickTime(pButtonData->g_DoubleClickSpeed);
  2140.                          PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
  2141.                          break;
  2142. @@ -1001,12 +1001,12 @@
  2143.      SendDlgItemMessage(hwndDlg, IDC_COMBO_CURSOR_SCHEME, CB_GETLBTEXT, nSel, (LPARAM)buffer);
  2144.  
  2145.      LoadString(hApplet, IDS_SYSTEM_SCHEME, szSystemScheme, MAX_PATH);
  2146. -    if (_tcsstr(buffer, szSystemScheme) || nSel == 0) //avoid the default scheme can be deleted
  2147. +    if (_tcsstr(buffer, szSystemScheme) || nSel == 0) // Avoid the default scheme - Can be deleted
  2148.          bEnable = FALSE;
  2149.      else
  2150.          bEnable = TRUE;
  2151.  
  2152. -    /* delete button */
  2153. +    /* Delete button */
  2154.      hDlgCtrl = GetDlgItem(hwndDlg, IDC_BUTTON_DELETE_SCHEME);
  2155.      EnableWindow(hDlgCtrl, bEnable);
  2156.  
  2157. @@ -1397,19 +1397,19 @@
  2158.              pOptionData->OrigMouseAccel.nThreshold1 = pOptionData->MouseAccel.nThreshold1;
  2159.              pOptionData->OrigMouseAccel.nThreshold2 = pOptionData->MouseAccel.nThreshold2;
  2160.  
  2161. -            /* snap to default button */
  2162. +            /* Snap to default button */
  2163.              SystemParametersInfo(SPI_GETSNAPTODEFBUTTON, 0, &pOptionData->bSnapToDefaultButton, 0);
  2164.              pOptionData->bOrigSnapToDefaultButton = pOptionData->bSnapToDefaultButton;
  2165.  
  2166. -            /* mouse trails */
  2167. +            /* Mouse trails */
  2168.              SystemParametersInfo(SPI_GETMOUSETRAILS, 0, &pOptionData->uMouseTrails, 0);
  2169.              pOptionData->uOrigMouseTrails = pOptionData->uMouseTrails;
  2170.  
  2171. -            /* hide pointer while typing */
  2172. +            /* Hide pointer while typing */
  2173.              SystemParametersInfo(SPI_GETMOUSEVANISH, 0, &pOptionData->bMouseVanish, 0);
  2174.              pOptionData->bOrigMouseVanish = pOptionData->bMouseVanish;
  2175.  
  2176. -            /* show pointer with Ctrl-Key */
  2177. +            /* Show pointer with Ctrl-Key */
  2178.              SystemParametersInfo(SPI_GETMOUSESONAR, 0, &pOptionData->bMouseSonar, 0);
  2179.              pOptionData->bOrigMouseSonar = pOptionData->bMouseSonar;
  2180.  
  2181. @@ -1430,7 +1430,7 @@
  2182.                  SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0);
  2183.              }
  2184.  
  2185. -            /* set mouse trail */
  2186. +            /* Set mouse trail */
  2187.              hDlgCtrl = GetDlgItem(hwndDlg, IDC_SLIDER_POINTER_TRAIL);
  2188.              SendMessage(hDlgCtrl, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(0, 5));
  2189.              if (pOptionData->uMouseTrails < 2)
  2190. @@ -1572,7 +1572,7 @@
  2191.                  }
  2192.  
  2193.  
  2194. -                /* set snap to default button */
  2195. +                /* Set snap to default button */
  2196.                  if (pOptionData->bOrigSnapToDefaultButton != pOptionData->bSnapToDefaultButton)
  2197.                  {
  2198.                      SystemParametersInfo(SPI_SETSNAPTODEFBUTTON, (UINT)pOptionData->bSnapToDefaultButton, 0, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
  2199. @@ -1586,14 +1586,14 @@
  2200.                      pOptionData->uOrigMouseTrails = pOptionData->uMouseTrails;
  2201.                  }
  2202.  
  2203. -                /* hide pointer while typing */
  2204. +                /* Hide pointer while typing */
  2205.                  if (pOptionData->bOrigMouseVanish != pOptionData->bMouseVanish)
  2206.                  {
  2207.                      SystemParametersInfo(SPI_SETMOUSEVANISH, 0, IntToPtr(pOptionData->bMouseVanish), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
  2208.                      pOptionData->bOrigMouseVanish = pOptionData->bMouseVanish;
  2209.                  }
  2210.  
  2211. -                /* show pointer with Ctrl-Key */
  2212. +                /* Show pointer with Ctrl-Key */
  2213.                  if (pOptionData->bOrigMouseSonar != pOptionData->bMouseSonar)
  2214.                  {
  2215.                      SystemParametersInfo(SPI_SETMOUSESONAR, 0, IntToPtr(pOptionData->bMouseSonar), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
  2216. @@ -1848,4 +1848,4 @@
  2217.      return ret;
  2218.  }
  2219.  
  2220. -/* EOF */
  2221. +/* EOF */
  2222. \ No newline at end of file
  2223. Index: dll/cpl/main/resource.h
  2224. ===================================================================
  2225. --- dll/cpl/main/resource.h (revision 54086)
  2226. +++ dll/cpl/main/resource.h (working copy)
  2227. @@ -104,4 +104,4 @@
  2228.  #define IDC_TEXT_TRAIL_SHORT                2057
  2229.  #define IDC_TEXT_TRAIL_LONG                 2058
  2230.  
  2231. -/* EOF */
  2232. +/* EOF */
  2233. \ No newline at end of file
  2234. Index: dll/cpl/mmsys/audio.c
  2235. ===================================================================
  2236. --- dll/cpl/mmsys/audio.c   (revision 54086)
  2237. +++ dll/cpl/mmsys/audio.c   (working copy)
  2238. @@ -259,4 +259,4 @@
  2239.      }
  2240.  
  2241.      return FALSE;
  2242. -}
  2243. +}
  2244. \ No newline at end of file
  2245. Index: dll/cpl/mmsys/mmsys.c
  2246. ===================================================================
  2247. --- dll/cpl/mmsys/mmsys.c   (revision 54086)
  2248. +++ dll/cpl/mmsys/mmsys.c   (working copy)
  2249. @@ -404,7 +404,7 @@
  2250.      hService = OpenService(hSCManager, L"RosAudioSrv", SERVICE_ALL_ACCESS);
  2251.      if (hService)
  2252.      {
  2253. -        /* make RosAudioSrv start automatically */
  2254. +        /* Make RosAudioSrv start automatically */
  2255.          ChangeServiceConfig(hService, SERVICE_NO_CHANGE, SERVICE_AUTO_START, SERVICE_NO_CHANGE, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
  2256.  
  2257.          StartService(hService, 0, NULL);
  2258. @@ -439,7 +439,7 @@
  2259.  
  2260.                      if (!wcsicmp(Buffer, szBuffer))
  2261.                      {
  2262. -                        /* an entry already exists */
  2263. +                        /* An entry already exists */
  2264.                          break;
  2265.                      }
  2266.                  }
  2267. @@ -525,7 +525,7 @@
  2268.              Guids[0] = GUID_DEVCLASS_CDROM;
  2269.              Guids[1] = GUID_DEVCLASS_MEDIA;
  2270.  
  2271. -            /* create the hardware page */
  2272. +            /* Create the hardware page */
  2273.              DeviceCreateHardwarePageEx(hwndDlg,
  2274.                                         Guids,
  2275.                                         sizeof(Guids) / sizeof(Guids[0]),
  2276. @@ -647,4 +647,4 @@
  2277.      }
  2278.  
  2279.      return TRUE;
  2280. -}
  2281. +}
  2282. \ No newline at end of file
  2283. Index: dll/cpl/mmsys/mmsys.h
  2284. ===================================================================
  2285. --- dll/cpl/mmsys/mmsys.h   (revision 54086)
  2286. +++ dll/cpl/mmsys/mmsys.h   (working copy)
  2287. @@ -75,4 +75,4 @@
  2288.               WPARAM wParam,
  2289.               LPARAM lParam);
  2290.  
  2291. -/* EOF */
  2292. +/* EOF */
  2293. \ No newline at end of file
  2294. Index: dll/cpl/mmsys/resource.h
  2295. ===================================================================
  2296. --- dll/cpl/mmsys/resource.h    (revision 54086)
  2297. +++ dll/cpl/mmsys/resource.h    (working copy)
  2298. @@ -76,4 +76,4 @@
  2299.  #define IDS_NO_SOUND               1002
  2300.  #define IDS_NO_DEVICES             1003
  2301.  
  2302. -/* EOF */
  2303. +/* EOF */
  2304. \ No newline at end of file
  2305. Index: dll/cpl/mmsys/sounds.c
  2306. ===================================================================
  2307. --- dll/cpl/mmsys/sounds.c  (revision 54086)
  2308. +++ dll/cpl/mmsys/sounds.c  (working copy)
  2309. @@ -97,6 +97,7 @@
  2310.      return pMap;
  2311.  }
  2312.  
  2313. +
  2314.  VOID RemoveLabel(PLABEL_MAP pMap)
  2315.  {
  2316.      PLABEL_MAP pCurMap = s_Map;
  2317. @@ -120,10 +121,6 @@
  2318.  }
  2319.  
  2320.  
  2321. -
  2322. -
  2323. -
  2324. -
  2325.  PAPP_MAP FindApp(TCHAR * szName)
  2326.  {
  2327.      PAPP_MAP pMap = s_App;
  2328. @@ -139,6 +136,7 @@
  2329.      return NULL;
  2330.  }
  2331.  
  2332. +
  2333.  PLABEL_CONTEXT FindLabelContext(PSOUND_SCHEME_CONTEXT pSoundScheme, TCHAR * AppName, TCHAR * LabelName)
  2334.  {
  2335.      PLABEL_CONTEXT pLabelContext;
  2336. @@ -172,6 +170,7 @@
  2337.      return pLabelContext;
  2338.  }
  2339.  
  2340. +
  2341.  BOOL
  2342.  LoadEventLabel(HKEY hKey, TCHAR * szSubKey)
  2343.  {
  2344. @@ -237,6 +236,7 @@
  2345.      return TRUE;
  2346.  }
  2347.  
  2348. +
  2349.  BOOL
  2350.  LoadEventLabels()
  2351.  {
  2352. @@ -284,6 +284,7 @@
  2353.      return (dwCount != 0);
  2354.  }
  2355.  
  2356. +
  2357.  BOOL
  2358.  AddSoundProfile(HWND hwndDlg, HKEY hKey, TCHAR * szSubKey, BOOL SetDefault)
  2359.  {
  2360. @@ -331,6 +332,7 @@
  2361.      return FALSE;
  2362.  }
  2363.  
  2364. +
  2365.  DWORD
  2366.  EnumerateSoundProfiles(HWND hwndDlg, HKEY hKey)
  2367.  {
  2368. @@ -389,6 +391,7 @@
  2369.      return dwNumSchemes;
  2370.  }
  2371.  
  2372. +
  2373.  PSOUND_SCHEME_CONTEXT FindSoundProfile(HWND hwndDlg, TCHAR * szName)
  2374.  {
  2375.      LRESULT lCount, lIndex, lResult;
  2376. @@ -416,6 +419,8 @@
  2377.      }
  2378.      return NULL;
  2379.  }
  2380. +
  2381. +
  2382.  BOOL
  2383.  ImportSoundLabel(HWND hwndDlg, HKEY hKey, TCHAR * szProfile, TCHAR * szLabelName, TCHAR * szAppName, PAPP_MAP AppMap, PLABEL_MAP LabelMap)
  2384.  {
  2385. @@ -541,7 +546,6 @@
  2386.  }
  2387.  
  2388.  
  2389. -
  2390.  DWORD
  2391.  ImportAppProfile(HWND hwndDlg, HKEY hKey, TCHAR * szAppName)
  2392.  {
  2393. @@ -631,6 +635,7 @@
  2394.      return dwNumEntry;
  2395.  }
  2396.  
  2397. +
  2398.  BOOL
  2399.  ImportSoundProfiles(HWND hwndDlg, HKEY hKey)
  2400.  {
  2401. @@ -673,7 +678,6 @@
  2402.  }
  2403.  
  2404.  
  2405. -
  2406.  BOOL
  2407.  LoadSoundProfiles(HWND hwndDlg)
  2408.  {
  2409. @@ -700,6 +704,8 @@
  2410.      RegCloseKey(hSubKey);
  2411.      return FALSE;
  2412.  }
  2413. +
  2414. +
  2415.  BOOL
  2416.  LoadSoundFiles(HWND hwndDlg)
  2417.  {
  2418. @@ -764,7 +770,6 @@
  2419.  }
  2420.  
  2421.  
  2422. -
  2423.  BOOL
  2424.  ShowSoundScheme(HWND hwndDlg)
  2425.  {
  2426. @@ -825,6 +830,7 @@
  2427.      return TRUE;
  2428.  }
  2429.  
  2430. +
  2431.  BOOL
  2432.  ApplyChanges(HWND hwndDlg)
  2433.  {
  2434. @@ -1002,7 +1008,7 @@
  2435.                              {
  2436.                                  PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
  2437.                                 ///
  2438. -                               /// should store in current member
  2439. +                               /// Should store in current member
  2440.                                 ///
  2441.                                 _tcscpy(pLabelContext->szValue, (TCHAR*)lResult);
  2442.                              }
  2443. @@ -1104,4 +1110,4 @@
  2444.      }
  2445.  
  2446.      return FALSE;
  2447. -}
  2448. +}
  2449. \ No newline at end of file
  2450. Index: dll/cpl/mmsys/voice.c
  2451. ===================================================================
  2452. --- dll/cpl/mmsys/voice.c   (revision 54086)
  2453. +++ dll/cpl/mmsys/voice.c   (working copy)
  2454. @@ -42,4 +42,4 @@
  2455.      }
  2456.  
  2457.      return FALSE;
  2458. -}
  2459. +}
  2460. \ No newline at end of file
  2461. Index: dll/cpl/mmsys/volume.c
  2462. ===================================================================
  2463. --- dll/cpl/mmsys/volume.c  (revision 54086)
  2464. +++ dll/cpl/mmsys/volume.c  (working copy)
  2465. @@ -60,6 +60,7 @@
  2466.      }
  2467.  }
  2468.  
  2469. +
  2470.  VOID
  2471.  GetMuteControl(PGLOBAL_DATA pGlobalData)
  2472.  {
  2473. @@ -89,6 +90,7 @@
  2474.      pGlobalData->muteControlID = mxc.dwControlID;
  2475.  }
  2476.  
  2477. +
  2478.  VOID
  2479.  GetMuteState(PGLOBAL_DATA pGlobalData)
  2480.  {
  2481. @@ -112,6 +114,7 @@
  2482.      pGlobalData->muteVal = mxcdMute.fValue;
  2483.  }
  2484.  
  2485. +
  2486.  VOID
  2487.  SwitchMuteState(PGLOBAL_DATA pGlobalData)
  2488.  {
  2489. @@ -133,6 +136,7 @@
  2490.      pGlobalData->muteVal = mxcdMute.fValue;
  2491.  }
  2492.  
  2493. +
  2494.  VOID
  2495.  GetVolumeControl(PGLOBAL_DATA pGlobalData)
  2496.  {
  2497. @@ -164,6 +168,7 @@
  2498.      pGlobalData->volumeControlID = mxc.dwControlID;
  2499.  }
  2500.  
  2501. +
  2502.  VOID
  2503.  GetVolumeValue(PGLOBAL_DATA pGlobalData)
  2504.  {
  2505. @@ -187,6 +192,7 @@
  2506.      pGlobalData->volumeValue = mxcdVolume.dwValue;
  2507.  }
  2508.  
  2509. +
  2510.  VOID
  2511.  SetVolumeValue(PGLOBAL_DATA pGlobalData){
  2512.      MIXERCONTROLDETAILS_UNSIGNED mxcdVolume;
  2513. @@ -269,6 +275,7 @@
  2514.      SendDlgItemMessage(hwndDlg, IDC_VOLUME_TRACKBAR, TBM_SETPOS, (WPARAM)TRUE, (LPARAM)pGlobalData->volumeValue/VOLUME_DIVIDER);
  2515.  }
  2516.  
  2517. +
  2518.  VOID
  2519.  LaunchSoundControl(HWND hwndDlg)
  2520.  {
  2521. @@ -340,7 +347,7 @@
  2522.                  HDC hdcMem;
  2523.                  LONG left;
  2524.  
  2525. -                /* position image in centre of dialog */
  2526. +                /* Position image in centre of dialog */
  2527.                  left = (lpDrawItem->rcItem.right - ImgInfo.cxSource) / 2;
  2528.  
  2529.                  hdcMem = CreateCompatibleDC(lpDrawItem->hDC);
  2530. @@ -408,4 +415,4 @@
  2531.      }
  2532.  
  2533.      return FALSE;
  2534. -}
  2535. +}
  2536. \ No newline at end of file
  2537. Index: dll/cpl/ncpa/ncpa.c
  2538. ===================================================================
  2539. --- dll/cpl/ncpa/ncpa.c (revision 54086)
  2540. +++ dll/cpl/ncpa/ncpa.c (working copy)
  2541. @@ -19,8 +19,8 @@
  2542.  DisplayApplet(VOID)
  2543.  {
  2544.     WCHAR szParameters[160];
  2545. -   //FIXME
  2546. -   // use correct path
  2547. +   //FIXME:
  2548. +   // Use correct path
  2549.     //::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
  2550.  
  2551.     wcscpy(szParameters, L"/n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}");
  2552. @@ -68,4 +68,4 @@
  2553.     }
  2554.  
  2555.     return TRUE;
  2556. -}
  2557. +}
  2558. \ No newline at end of file
  2559. Index: dll/cpl/odbccp32/odbccp32.c
  2560. ===================================================================
  2561. --- dll/cpl/odbccp32/odbccp32.c (revision 54086)
  2562. +++ dll/cpl/odbccp32/odbccp32.c (working copy)
  2563. @@ -76,5 +76,4 @@
  2564.    }
  2565.  
  2566.    return TRUE;
  2567. -}
  2568. -
  2569. +}
  2570. \ No newline at end of file
  2571. Index: dll/cpl/odbccp32/odbccp32.h
  2572. ===================================================================
  2573. --- dll/cpl/odbccp32/odbccp32.h (revision 54086)
  2574. +++ dll/cpl/odbccp32/odbccp32.h (working copy)
  2575. @@ -6,4 +6,4 @@
  2576.  #include <tchar.h>
  2577.  
  2578.  extern HINSTANCE hApplet;
  2579. -extern HMODULE hLibrary;
  2580. +extern HMODULE hLibrary;
  2581. \ No newline at end of file
  2582. Index: dll/cpl/powercfg/advanced.c
  2583. ===================================================================
  2584. --- dll/cpl/powercfg/advanced.c (revision 54086)
  2585. +++ dll/cpl/powercfg/advanced.c (working copy)
  2586. @@ -180,8 +180,6 @@
  2587.  }
  2588.  
  2589.  
  2590. -
  2591. -
  2592.  //-------------------------------------------------------------------
  2593.  
  2594.  VOID
  2595. @@ -394,7 +392,6 @@
  2596.     }
  2597.  }
  2598.  
  2599. -
  2600.  static VOID
  2601.  Adv_SaveData(HWND hwndDlg)
  2602.  {
  2603. @@ -527,4 +524,4 @@
  2604.         }
  2605.    }
  2606.    return FALSE;
  2607. -}
  2608. +}
  2609. \ No newline at end of file
  2610. Index: dll/cpl/powercfg/alarms.c
  2611. ===================================================================
  2612. --- dll/cpl/powercfg/alarms.c   (revision 54086)
  2613. +++ dll/cpl/powercfg/alarms.c   (working copy)
  2614. @@ -177,12 +177,12 @@
  2615.      case WM_INITDIALOG:
  2616.         if (!Ala_InitData(hwndDlg))
  2617.         {
  2618. -           //TODO
  2619. -           //handle initialization error
  2620. +           //TODO:
  2621. +           //Handle initialization error
  2622.         }
  2623.         return TRUE;
  2624.     default:
  2625.         break;
  2626.    }
  2627.    return FALSE;
  2628. -}
  2629. +}
  2630. \ No newline at end of file
  2631. Index: dll/cpl/powercfg/hibernate.c
  2632. ===================================================================
  2633. --- dll/cpl/powercfg/hibernate.c    (revision 54086)
  2634. +++ dll/cpl/powercfg/hibernate.c    (working copy)
  2635. @@ -38,7 +38,7 @@
  2636.         msex.dwLength = sizeof(msex);
  2637.         if (!GlobalMemoryStatusEx(&msex))
  2638.         {
  2639. -           return; //FIXME
  2640. +           return; //FIXME:
  2641.         }
  2642.  
  2643.         if (GetWindowsDirectory(szTemp,MAX_PATH))
  2644. @@ -149,4 +149,4 @@
  2645.         }
  2646.    }
  2647.    return FALSE;
  2648. -}
  2649. +}
  2650. \ No newline at end of file
  2651. Index: dll/cpl/powercfg/powercfg.c
  2652. ===================================================================
  2653. --- dll/cpl/powercfg/powercfg.c (revision 54086)
  2654. +++ dll/cpl/powercfg/powercfg.c (working copy)
  2655. @@ -171,6 +171,4 @@
  2656.        break;
  2657.    }
  2658.    return TRUE;
  2659. -}
  2660. -
  2661. -
  2662. +}
  2663. \ No newline at end of file
  2664. Index: dll/cpl/powercfg/powercfg.h
  2665. ===================================================================
  2666. --- dll/cpl/powercfg/powercfg.h (revision 54086)
  2667. +++ dll/cpl/powercfg/powercfg.h (working copy)
  2668. @@ -32,4 +32,4 @@
  2669.  INT_PTR CALLBACK AdvancedDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  2670.  INT_PTR CALLBACK HibernateDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  2671.  
  2672. -/* EOF */
  2673. +/* EOF */
  2674. \ No newline at end of file
  2675. Index: dll/cpl/powercfg/powershemes.c
  2676. ===================================================================
  2677. --- dll/cpl/powercfg/powershemes.c  (revision 54086)
  2678. +++ dll/cpl/powercfg/powershemes.c  (working copy)
  2679. @@ -252,8 +252,8 @@
  2680.     {
  2681.         if (guiIndex >= MAX_POWER_POLICY)
  2682.         {
  2683. -           //FIXME
  2684. -           //implement store power policy dynamically
  2685. +           //FIXME:
  2686. +           //Implement store power policy dynamically
  2687.             return FALSE;
  2688.         }
  2689.  
  2690. @@ -521,8 +521,8 @@
  2691.  
  2692.     if (CanUserWritePwrScheme())
  2693.     {
  2694. -       //TODO
  2695. -       // enable write / delete powerscheme button
  2696. +       //TODO:
  2697. +       // Enable write / delete powerscheme button
  2698.     }
  2699.  
  2700.     Pos_InitPage(GetParent(hwnd));
  2701. @@ -558,17 +558,17 @@
  2702.         hwndDialog = hwndDlg;
  2703.         if (!Pos_InitData())
  2704.         {
  2705. -           //TODO
  2706. -           // initialization failed
  2707. -           // handle error
  2708. +           //TODO:
  2709. +           // Initialization failed
  2710. +           // Handle error
  2711.             MessageBox(hwndDlg,_T("Pos_InitData failed\n"), NULL, MB_OK);
  2712.  
  2713.         }
  2714.         if (!CreateEnergyList(GetDlgItem(hwndDlg, IDC_ENERGYLIST)))
  2715.         {
  2716. -           //TODO
  2717. -           // initialization failed
  2718. -           // handle error
  2719. +           //TODO:
  2720. +           // Initialization failed
  2721. +           // Handle error
  2722.             MessageBox(hwndDlg,_T("CreateEnergyList failed\n"), NULL, MB_OK);
  2723.         }
  2724.         return TRUE;
  2725. @@ -619,4 +619,4 @@
  2726.         break;
  2727.    }
  2728.    return FALSE;
  2729. -}
  2730. +}
  2731. \ No newline at end of file
  2732. Index: dll/cpl/powercfg/resource.h
  2733. ===================================================================
  2734. --- dll/cpl/powercfg/resource.h (revision 54086)
  2735. +++ dll/cpl/powercfg/resource.h (working copy)
  2736. @@ -1,6 +1,6 @@
  2737.  #pragma once
  2738.  
  2739. -/* metrics */
  2740. +/* Metrics */
  2741.  #define PROPSHEETWIDTH  246
  2742.  #define PROPSHEETHEIGHT 228
  2743.  #define PROPSHEETPADDING        6
  2744. @@ -115,12 +115,12 @@
  2745.  #define IDC_DELETE_BTN                  504
  2746.  #define IDC_SAVEAS_BTN                  505
  2747.  
  2748. -#define IDS_ALPERTLOWENERGY                        715
  2749. -#define IDS_ALPERTCRITICLEENERGY               716
  2750. -#define IDS_CRITCLENERGY                       717
  2751. -#define IDS_LOWENERGY                          718
  2752. -#define IDS_UNKNOWN                                719
  2753. +#define IDS_ALPERTLOWENERGY                715
  2754. +#define IDS_ALPERTCRITICLEENERGY       716
  2755. +#define IDS_CRITCLENERGY               717
  2756. +#define IDS_LOWENERGY                  718
  2757. +#define IDS_UNKNOWN                        719
  2758.  
  2759.  #define IDS_CPLDESCRIPTION_1           901
  2760.  
  2761. -/* EOF */
  2762. +/* EOF */
  2763. \ No newline at end of file
  2764. Index: dll/cpl/sysdm/advanced.c
  2765. ===================================================================
  2766. --- dll/cpl/sysdm/advanced.c    (revision 54086)
  2767. +++ dll/cpl/sysdm/advanced.c    (working copy)
  2768. @@ -180,4 +180,4 @@
  2769.      }
  2770.  
  2771.      return FALSE;
  2772. -}
  2773. +}
  2774. \ No newline at end of file
  2775. Index: dll/cpl/sysdm/environment.c
  2776. ===================================================================
  2777. --- dll/cpl/sysdm/environment.c (revision 54086)
  2778. +++ dll/cpl/sysdm/environment.c (working copy)
  2779. @@ -536,9 +536,9 @@
  2780.  
  2781.      /* Get the handle to the list box with all system vars in it */
  2782.      hwndListView = GetDlgItem(hwndDlg, iDlgItem);
  2783. -    /* first item is 0 */
  2784. +    /* First item is 0 */
  2785.      iItem = 0;
  2786. -    /* set up struct to retreive item */
  2787. +    /* Set up struct to retreive item */
  2788.      lvi.mask = LVIF_PARAM;
  2789.      lvi.iItem = iItem;
  2790.  
  2791. @@ -746,4 +746,4 @@
  2792.      return FALSE;
  2793.  }
  2794.  
  2795. -/* EOF */
  2796. +/* EOF */
  2797. \ No newline at end of file
  2798. Index: dll/cpl/sysdm/general.c
  2799. ===================================================================
  2800. --- dll/cpl/sysdm/general.c (revision 54086)
  2801. +++ dll/cpl/sysdm/general.c (working copy)
  2802. @@ -91,9 +91,9 @@
  2803.             {
  2804.                 if (timerid == 0)
  2805.                 {
  2806. -                   top = 0; // set top
  2807. +                   top = 0; // Set top
  2808.                    
  2809. -                   // build new bitmap
  2810. +                   // Build new bitmap
  2811.                     GetObject(pImgInfo->hBitmap, sizeof(BITMAP), &bitmap);
  2812.                     dc = CreateCompatibleDC(GetDC(NULL));
  2813.                     if (dc == NULL)
  2814. @@ -176,7 +176,7 @@
  2815.             }
  2816.             GetClientRect(hwnd,&PS.rcPaint);
  2817.  
  2818. -                   /* position image in center of dialog */
  2819. +                   /* Position image in center of dialog */
  2820.             left = (PS.rcPaint.right - pImgInfo->cxSource) / 2;
  2821.             hdcMem = CreateCompatibleDC(hdc);
  2822.                    
  2823. @@ -547,7 +547,7 @@
  2824.                  HDC hdcMem;
  2825.                  LONG left;
  2826.  
  2827. -                /* position image in centre of dialog */
  2828. +                /* Position image in centre of dialog */
  2829.                  left = (lpDrawItem->rcItem.right - pImgInfo->cxSource) / 2;
  2830.  
  2831.                  hdcMem = CreateCompatibleDC(lpDrawItem->hDC);
  2832. @@ -590,4 +590,4 @@
  2833.      }
  2834.  
  2835.      return FALSE;
  2836. -}
  2837. +}
  2838. \ No newline at end of file
  2839. Index: dll/cpl/sysdm/hardprof.c
  2840. ===================================================================
  2841. --- dll/cpl/sysdm/hardprof.c    (revision 54086)
  2842. +++ dll/cpl/sysdm/hardprof.c    (working copy)
  2843. @@ -82,4 +82,4 @@
  2844.      }
  2845.  
  2846.      return FALSE;
  2847. -}
  2848. +}
  2849. \ No newline at end of file
  2850. Index: dll/cpl/sysdm/hardware.c
  2851. ===================================================================
  2852. --- dll/cpl/sysdm/hardware.c    (revision 54086)
  2853. +++ dll/cpl/sysdm/hardware.c    (working copy)
  2854. @@ -15,7 +15,7 @@
  2855.  static BOOL
  2856.  LaunchDeviceManager(HWND hWndParent)
  2857.  {
  2858. -/* hack for ROS to start our devmgmt until we have mmc */
  2859. +/* Hack for ROS to start our devmgmt until we have mmc */
  2860.  #ifdef __REACTOS__
  2861.      return ((INT_PTR)ShellExecuteW(NULL, L"open", L"devmgmt.exe", NULL, NULL, SW_SHOWNORMAL) > 32);
  2862.  #else
  2863. @@ -34,7 +34,7 @@
  2864.          return FALSE;
  2865.      }
  2866.  
  2867. -    /* run the Device Manager */
  2868. +    /* Run the Device Manager */
  2869.      Ret = DevMgrExec(hWndParent, hApplet, NULL /* ??? */, SW_SHOW);
  2870.      FreeLibrary(hDll);
  2871.      return Ret;
  2872. @@ -102,4 +102,4 @@
  2873.      }
  2874.  
  2875.      return FALSE;
  2876. -}
  2877. +}
  2878. \ No newline at end of file
  2879. Index: dll/cpl/sysdm/licence.c
  2880. ===================================================================
  2881. --- dll/cpl/sysdm/licence.c (revision 54086)
  2882. +++ dll/cpl/sysdm/licence.c (working copy)
  2883. @@ -34,7 +34,7 @@
  2884.                  ICON_SMALL,
  2885.                  (LPARAM)pLicInfo->hIcon);
  2886.  
  2887. -    /* load license from resource */
  2888. +    /* Load license from resource */
  2889.      if (!(hResInfo = FindResource(hApplet,
  2890.                                    MAKEINTRESOURCE(RC_LICENSE),
  2891.                                    MAKEINTRESOURCE(RTDATA))) ||
  2892. @@ -45,7 +45,7 @@
  2893.          return FALSE;
  2894.      }
  2895.  
  2896. -    /* insert the license into the edit control (unicode!) */
  2897. +    /* Insert the license into the edit control (unicode!) */
  2898.      SetDlgItemText(hDlg,
  2899.                     IDC_LICENCEEDIT,
  2900.                     LicenseText);
  2901. @@ -102,4 +102,4 @@
  2902.      }
  2903.  
  2904.      return FALSE;
  2905. -}
  2906. +}
  2907. \ No newline at end of file
  2908. Index: dll/cpl/sysdm/precomp.h
  2909. ===================================================================
  2910. --- dll/cpl/sysdm/precomp.h (revision 54086)
  2911. +++ dll/cpl/sysdm/precomp.h (working copy)
  2912. @@ -34,12 +34,12 @@
  2913.  
  2914.  void ShowLastWin32Error(HWND hWndOwner);
  2915.  
  2916. -/* prop sheet pages */
  2917. +/* Prop sheet pages */
  2918.  INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  2919.  INT_PTR CALLBACK HardwarePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  2920.  INT_PTR CALLBACK AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  2921.  
  2922. -/* dialogs */
  2923. +/* Dialogs */
  2924.  INT_PTR CALLBACK HardProfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  2925.  INT_PTR CALLBACK UserProfileDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  2926.  INT_PTR CALLBACK EnvironmentDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  2927. Index: dll/cpl/sysdm/resource.h
  2928. ===================================================================
  2929. --- dll/cpl/sysdm/resource.h    (revision 54086)
  2930. +++ dll/cpl/sysdm/resource.h    (working copy)
  2931. @@ -38,7 +38,7 @@
  2932.  #define IDS_WARNINITIALRANGE            80
  2933.  #define IDS_WARNMAXIMUMRANGE            81
  2934.  
  2935. -/* propsheet - general */
  2936. +/* Propsheet - general */
  2937.  #define IDD_PROPPAGEGENERAL             100
  2938.  #define IDC_MACHINELINE1                101
  2939.  #define IDC_MACHINELINE2                102
  2940. @@ -50,7 +50,7 @@
  2941.  #define IDC_ROSHOMEPAGE_LINK            108
  2942.  
  2943.  
  2944. -/* propsheet - hardware */
  2945. +/* Propsheet - hardware */
  2946.  #define IDD_PROPPAGEHARDWARE            300
  2947.  #define IDC_HARDWARE_WIZARD             207
  2948.  #define IDC_HARDWARE_PROFILE            209
  2949. @@ -58,7 +58,7 @@
  2950.  #define IDC_HARDWARE_DEVICE_MANAGER     211
  2951.  
  2952.  
  2953. -/* propsheet - advanced */
  2954. +/* Propsheet - advanced */
  2955.  #define IDD_PROPPAGEADVANCED            400
  2956.  #define IDC_SYSSETTINGS                 401
  2957.  #define IDC_ENVVAR                      402
  2958. @@ -67,11 +67,11 @@
  2959.  #define IDC_USERPROFILE                 405
  2960.  #define IDC_ERRORREPORT                 406
  2961.  
  2962. -/* system settings */
  2963. +/* System settings */
  2964.  #define IDD_SYSSETTINGS                 800
  2965.  #define IDC_REPORTASWORKSTATION         801
  2966.  
  2967. -/* user profiles */
  2968. +/* User profiles */
  2969.  #define IDD_USERPROFILE                 500
  2970.  #define IDC_USERPROFILE_LIST            501
  2971.  #define IDC_USERPROFILE_CHANGE          503
  2972. @@ -80,7 +80,7 @@
  2973.  #define IDC_USERACCOUNT_LINK            506
  2974.  
  2975.  
  2976. -/* environment variables */
  2977. +/* Environment variables */
  2978.  #define IDD_ENVIRONMENT_VARIABLES       600
  2979.  #define IDC_USER_VARIABLE_LIST          601
  2980.  #define IDC_USER_VARIABLE_NEW           602
  2981. @@ -92,7 +92,7 @@
  2982.  #define IDC_SYSTEM_VARIABLE_DELETE      608
  2983.  
  2984.  
  2985. -/* edit environment variables */
  2986. +/* Edit environment variables */
  2987.  #define IDD_EDIT_VARIABLE               700
  2988.  #define IDC_VARIABLE_NAME               701
  2989.  #define IDC_VARIABLE_VALUE              702
  2990. @@ -116,7 +116,7 @@
  2991.  #define IDC_CURRENT                     914
  2992.  
  2993.  
  2994. -/* startup and recovery */
  2995. +/* Startup and recovery */
  2996.  #define IDD_STARTUPRECOVERY             1000
  2997.  #define IDC_STRECOSCOMBO                1001
  2998.  #define IDC_STRECLIST                   1002
  2999. @@ -134,7 +134,7 @@
  3000.  #define IDC_STRRECOVERWRITE             1014
  3001.  
  3002.  
  3003. -/* hardware profiles */
  3004. +/* Hardware profiles */
  3005.  #define IDD_HARDWAREPROFILES            1100
  3006.  #define IDC_HRDPROFLSTBOX               1102
  3007.  #define IDC_HRDPROFUP                   1103
  3008. @@ -149,15 +149,15 @@
  3009.  #define IDC_HRDPROFUPDWN                1112
  3010.  
  3011.  
  3012. -/* rename profile */
  3013. +/* Rename profile */
  3014.  #define IDD_RENAMEPROFILE               1200
  3015.  #define IDC_RENPROFEDITFROM             1201
  3016.  #define IDC_RENPROFEDITTO               1202
  3017.  
  3018. -/* licence */
  3019. +/* Licence */
  3020.  #define IDD_LICENCE                     1500
  3021.  #define IDC_LICENCEEDIT                 1501
  3022.  #define RC_LICENSE                      1502
  3023.  #define RTDATA                          1503
  3024.  
  3025. -#define IDS_DEVS                        2000
  3026. +#define IDS_DEVS                        2000
  3027. \ No newline at end of file
  3028. Index: dll/cpl/sysdm/startrec.c
  3029. ===================================================================
  3030. --- dll/cpl/sysdm/startrec.c    (revision 54086)
  3031. +++ dll/cpl/sysdm/startrec.c    (working copy)
  3032. @@ -60,7 +60,7 @@
  3033.  {
  3034.      DWORD dwBufSize;
  3035.  
  3036. -    /* get Path to freeldr.ini or boot.ini */
  3037. +    /* Get Path to freeldr.ini or boot.ini */
  3038.      *szSystemDrive = HeapAlloc(GetProcessHeap(), 0, MAX_PATH * sizeof(WCHAR));
  3039.      if (*szSystemDrive != NULL)
  3040.      {
  3041. @@ -108,7 +108,7 @@
  3042.                              NULL,
  3043.                              &InfContext))
  3044.      {
  3045. -        /* failed to find section */
  3046. +        /* Failed to find section */
  3047.          return NULL;
  3048.      }
  3049.  
  3050. @@ -144,7 +144,7 @@
  3051.          {
  3052.              if (!_wcsnicmp(szValue, L"ReactOS", 7))
  3053.              {
  3054. -                //FIXME store as enum
  3055. +                //FIXME: Store as enum
  3056.                  pRecord->BootType = 1;
  3057.              }
  3058.              else
  3059. @@ -158,7 +158,7 @@
  3060.          }
  3061.          else if (!_wcsnicmp(szName, L"Options", 7))
  3062.          {
  3063. -            //FIXME store flags as values
  3064. +            //FIXME: Store flags as values
  3065.              wcscpy(pRecord->szOptions, szValue);
  3066.          }
  3067.  
  3068. @@ -186,7 +186,7 @@
  3069.                             L"DefaultOS",
  3070.                             &InfContext))
  3071.      {
  3072. -        /* failed to find default os */
  3073. +        /* Failed to find default os */
  3074.          return FALSE;
  3075.      }
  3076.  
  3077. @@ -196,7 +196,7 @@
  3078.                               sizeof(szDefaultOs) / sizeof(WCHAR),
  3079.                               &LineLength))
  3080.      {
  3081. -        /* no key */
  3082. +        /* No key */
  3083.          return FALSE;
  3084.      }
  3085.  
  3086. @@ -205,7 +205,7 @@
  3087.                             L"TimeOut",
  3088.                             &InfContext))
  3089.      {
  3090. -        /* expected to find timeout value */
  3091. +        /* Expected to find timeout value */
  3092.          return FALSE;
  3093.      }
  3094.  
  3095. @@ -214,7 +214,7 @@
  3096.                            1,
  3097.                            (PINT)&TimeOut))
  3098.      {
  3099. -        /* failed to retrieve timeout */
  3100. +        /* Failed to retrieve timeout */
  3101.          return FALSE;
  3102.      }
  3103.  
  3104. @@ -223,7 +223,7 @@
  3105.                             NULL,
  3106.                             &InfContext))
  3107.      {
  3108. -       /* expected list of operating systems */
  3109. +       /* Expected list of operating systems */
  3110.         return FALSE;
  3111.      }
  3112.  
  3113. @@ -235,7 +235,7 @@
  3114.                                   sizeof(szName) / sizeof(WCHAR),
  3115.                                   &LineLength))
  3116.          {
  3117. -            /* the ini file is messed up */
  3118. +            /* The ini file is messed up */
  3119.              return FALSE;
  3120.          }
  3121.  
  3122. @@ -245,7 +245,7 @@
  3123.                                   sizeof(szValue) / sizeof(WCHAR),
  3124.                                   &LineLength))
  3125.          {
  3126. -            /* the ini file is messed up */
  3127. +            /* The ini file is messed up */
  3128.              return FALSE;
  3129.          }
  3130.  
  3131. @@ -258,7 +258,7 @@
  3132.                  SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_SETITEMDATA, (WPARAM)lResult, (LPARAM)pRecord);
  3133.                  if (!wcscmp(szDefaultOs, szName))
  3134.                  {
  3135. -                    /* we store the friendly name as key */
  3136. +                    /* We store the friendly name as key */
  3137.                      wcscpy(szDefaultOs, szValue);
  3138.                  }
  3139.              }
  3140. @@ -270,11 +270,11 @@
  3141.      }
  3142.      while (SetupFindNextLine(&InfContext, &InfContext));
  3143.  
  3144. -    /* find default os in list */
  3145. +    /* Find default os in list */
  3146.      lResult = SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_FINDSTRING, (WPARAM)-1, (LPARAM)szDefaultOs);
  3147.      if (lResult != CB_ERR)
  3148.      {
  3149. -       /* set cur sel */
  3150. +       /* Set cur sel */
  3151.         SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_SETCURSEL, (WPARAM)lResult, (LPARAM)0);
  3152.      }
  3153.  
  3154. @@ -347,7 +347,7 @@
  3155.                              NULL,
  3156.                              &InfContext))
  3157.      {
  3158. -        /* failed to find operating systems section */
  3159. +        /* Failed to find operating systems section */
  3160.          return FALSE;
  3161.      }
  3162.  
  3163. @@ -405,11 +405,11 @@
  3164.      }
  3165.      while (SetupFindNextLine(&InfContext, &InfContext));
  3166.  
  3167. -    /* find default os in list */
  3168. +    /* Find default os in list */
  3169.      lResult = SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_FINDSTRING, (WPARAM)0, (LPARAM)szDefaultOS);
  3170.      if (lResult != CB_ERR)
  3171.      {
  3172. -       /* set cur sel */
  3173. +       /* Set cur sel */
  3174.         SendDlgItemMessageW(hwndDlg, IDC_STRECOSCOMBO, CB_SETCURSEL, (WPARAM)lResult, (LPARAM)0);
  3175.      }
  3176.  
  3177. @@ -462,7 +462,7 @@
  3178.  
  3179.      if (PathFileExistsW(pStartInfo->szFreeldrIni))
  3180.      {
  3181. -        /* free resource previously allocated by GetSystemDrive() */
  3182. +        /* Free resource previously allocated by GetSystemDrive() */
  3183.          HeapFree(GetProcessHeap(), 0, szSystemDrive);
  3184.          /* freeldr.ini exists */
  3185.          hInf = SetupOpenInfFileW(pStartInfo->szFreeldrIni,
  3186. @@ -480,16 +480,16 @@
  3187.          return FALSE;
  3188.      }
  3189.  
  3190. -    /* try load boot.ini settings */
  3191. +    /* Try loading boot.ini settings */
  3192.      wcscpy(pStartInfo->szFreeldrIni, szSystemDrive);
  3193.      wcscat(pStartInfo->szFreeldrIni, L"\\boot.ini");
  3194.  
  3195. -    /* free resource previously allocated by GetSystemDrive() */
  3196. +    /* Free resource previously allocated by GetSystemDrive() */
  3197.      HeapFree(GetProcessHeap(), 0, szSystemDrive);
  3198.  
  3199.      if (PathFileExistsW(pStartInfo->szFreeldrIni))
  3200.      {
  3201. -        /* load boot.ini settings */
  3202. +        /* Load boot.ini settings */
  3203.          hInf = SetupOpenInfFileW(pStartInfo->szFreeldrIni,
  3204.                                  NULL,
  3205.                                  INF_STYLE_OLDNT,
  3206. @@ -514,20 +514,20 @@
  3207.  {
  3208.      if (pStartInfo->dwCrashDumpEnabled == 0)
  3209.      {
  3210. -        /* no crash information required */
  3211. +        /* No crash information required */
  3212.          EnableWindow(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), FALSE);
  3213.          EnableWindow(GetDlgItem(hwnd, IDC_STRRECOVERWRITE), FALSE);
  3214.      }
  3215.      else if (pStartInfo->dwCrashDumpEnabled == 3)
  3216.      {
  3217. -        /* minidump type */
  3218. +        /* Minidump type */
  3219.          EnableWindow(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), TRUE);
  3220.          EnableWindow(GetDlgItem(hwnd, IDC_STRRECOVERWRITE), FALSE);
  3221.          SendMessageW(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), WM_SETTEXT, (WPARAM)0, (LPARAM)pStartInfo->szMinidumpDir);
  3222.      }
  3223.      else if (pStartInfo->dwCrashDumpEnabled == 1 || pStartInfo->dwCrashDumpEnabled == 2)
  3224.      {
  3225. -        /* kernel or complete dump */
  3226. +        /* Kernel or complete dump */
  3227.          EnableWindow(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), TRUE);
  3228.          EnableWindow(GetDlgItem(hwnd, IDC_STRRECOVERWRITE), TRUE);
  3229.          SendMessageW(GetDlgItem(hwnd, IDC_STRRECDUMPFILE), WM_SETTEXT, (WPARAM)0, (LPARAM)pStartInfo->szDumpFile);
  3230. @@ -547,7 +547,7 @@
  3231.                       KEY_WRITE,
  3232.                       &hKey) != ERROR_SUCCESS)
  3233.      {
  3234. -        /* failed to open key */
  3235. +        /* Failed to open key */
  3236.          return;
  3237.      }
  3238.  
  3239. @@ -592,7 +592,7 @@
  3240.                       KEY_READ,
  3241.                       &hKey) != ERROR_SUCCESS)
  3242.      {
  3243. -        /* failed to open key */
  3244. +        /* Failed to open key */
  3245.          return;
  3246.      }
  3247.  
  3248. @@ -690,13 +690,13 @@
  3249.              {
  3250.                  case IDC_STRRECEDIT:
  3251.                      ShellExecuteW(0, L"open", L"notepad", pStartInfo->szFreeldrIni, NULL, SW_SHOWNORMAL);
  3252. -                    // FIXME use CreateProcess and wait untill finished
  3253. +                    // FIXME: Use CreateProcess and wait untill finished
  3254.                      //  DeleteBootRecords(hwndDlg);
  3255.                      //  LoadOSList(hwndDlg);
  3256.                      break;
  3257.  
  3258.                  case IDOK:
  3259. -                    /* save timeout */
  3260. +                    /* Save timeout */
  3261.                      if (SendDlgItemMessage(hwndDlg, IDC_STRECLIST, BM_GETCHECK, (WPARAM)0, (LPARAM)0) == BST_CHECKED)
  3262.                          iTimeout = SendDlgItemMessage(hwndDlg, IDC_STRRECLISTUPDWN, UDM_GETPOS, (WPARAM)0, (LPARAM)0);
  3263.                      else
  3264. @@ -717,12 +717,12 @@
  3265.                      {
  3266.                          if (pStartInfo->iFreeLdrIni == 1) // FreeLdrIni style
  3267.                          {
  3268. -                            /* set default timeout */
  3269. +                            /* Set default timeout */
  3270.                              WritePrivateProfileStringW(L"FREELOADER",
  3271.                                                        L"TimeOut",
  3272.                                                        szTimeout,
  3273.                                                        pStartInfo->szFreeldrIni);
  3274. -                            /* set default os */
  3275. +                            /* Set default OS */
  3276.                              WritePrivateProfileStringW(L"FREELOADER",
  3277.                                                        L"DefaultOS",
  3278.                                                        pRecord->szSectionName,
  3279. @@ -731,12 +731,12 @@
  3280.                          }
  3281.                          else if (pStartInfo->iFreeLdrIni == 2) // BootIni style
  3282.                          {
  3283. -                            /* set default timeout */
  3284. +                            /* Set default timeout */
  3285.                              WritePrivateProfileStringW(L"boot loader",
  3286.                                                        L"timeout",
  3287.                                                        szTimeout,
  3288.                                                        pStartInfo->szFreeldrIni);
  3289. -                            /* set default os */
  3290. +                            /* Set default OS */
  3291.                              WritePrivateProfileStringW(L"boot loader",
  3292.                                                        L"default",
  3293.                                                        pRecord->szBootPath,
  3294. @@ -796,4 +796,4 @@
  3295.      }
  3296.  
  3297.      return FALSE;
  3298. -}
  3299. +}
  3300. \ No newline at end of file
  3301. Index: dll/cpl/sysdm/sysdm.c
  3302. ===================================================================
  3303. --- dll/cpl/sysdm/sysdm.c   (revision 54086)
  3304. +++ dll/cpl/sysdm/sysdm.c   (working copy)
  3305. @@ -202,4 +202,4 @@
  3306.      }
  3307.  
  3308.      return TRUE;
  3309. -}
  3310. +}
  3311. \ No newline at end of file
  3312. Index: dll/cpl/sysdm/userprofile.c
  3313. ===================================================================
  3314. --- dll/cpl/sysdm/userprofile.c (revision 54086)
  3315. +++ dll/cpl/sysdm/userprofile.c (working copy)
  3316. @@ -168,4 +168,4 @@
  3317.      }
  3318.  
  3319.      return FALSE;
  3320. -}
  3321. +}
  3322. \ No newline at end of file
  3323. Index: dll/cpl/sysdm/virtmem.c
  3324. ===================================================================
  3325. --- dll/cpl/sysdm/virtmem.c (revision 54086)
  3326. +++ dll/cpl/sysdm/virtmem.c (working copy)
  3327. @@ -104,9 +104,9 @@
  3328.  static VOID
  3329.  ParseMemSettings(PVIRTMEM pVirtMem)
  3330.  {
  3331. -    TCHAR szDrives[1024];    // all drives
  3332. +    TCHAR szDrives[1024];    // All drives
  3333.      LPTSTR DrivePtr = szDrives;
  3334. -    TCHAR szDrive[3]; // single drive
  3335. +    TCHAR szDrive[3];        // Single drive
  3336.      TCHAR szVolume[MAX_PATH];
  3337.      TCHAR *szDisplayString;
  3338.      INT InitialSize = 0;
  3339. @@ -130,15 +130,15 @@
  3340.  
  3341.          DrivePtr = _tcsupr(DrivePtr);
  3342.  
  3343. -        /* copy the 'X:' portion */
  3344. +        /* Copy the 'X:' portion */
  3345.          lstrcpyn(szDrive, DrivePtr, sizeof(szDrive) / sizeof(TCHAR));
  3346.  
  3347.          if (GetDriveType(DrivePtr) == DRIVE_FIXED)
  3348.          {
  3349. -            /* does drive match the one in the registry ? */
  3350. +            /* Does drive match the one in the registry ? */
  3351.              if (!_tcsncmp(pVirtMem->szPagingFiles, szDrive, 2))
  3352.              {
  3353. -                /* FIXME: we only check the first available pagefile in the reg */
  3354. +                /* FIXME: We only check the first available pagefile in the reg */
  3355.                  GetPageFileSizes(pVirtMem->szPagingFiles,
  3356.                                   &InitialSize,
  3357.                                   &MaximumSize);
  3358. @@ -159,7 +159,7 @@
  3359.              _tcscpy(szDisplayString, szDrive);
  3360.              _tcscat(szDisplayString, _T("\t"));
  3361.  
  3362. -            /* set a volume label if there is one */
  3363. +            /* Set a volume label if there is one */
  3364.              if (GetVolumeInformation(DrivePtr,
  3365.                                       szVolume,
  3366.                                       255,
  3367. @@ -224,7 +224,7 @@
  3368.              /* Record the position where the next string will start */
  3369.              nPos += (INT)lstrlen(szText) + 1;
  3370.  
  3371. -            /* add another NULL for REG_MULTI_SZ */
  3372. +            /* Add another NULL for REG_MULTI_SZ */
  3373.              szPagingFiles[nPos] = _T('\0');
  3374.              nPos++;
  3375.          }
  3376. @@ -313,7 +313,7 @@
  3377.                                       0);
  3378.      if (Index >= 0 && Index < pVirtMem->Count)
  3379.      {
  3380. -        /* check if custom settings are checked */
  3381. +        /* Check if custom settings are checked */
  3382.          if (IsDlgButtonChecked(pVirtMem->hSelf,
  3383.                                 IDC_CUSTOM) == BST_CHECKED)
  3384.          {
  3385. @@ -417,11 +417,11 @@
  3386.          }
  3387.          else
  3388.          {
  3389. -            /* set sizes to 0 */
  3390. +            /* Set sizes to 0 */
  3391.              pVirtMem->Pagefile[Index].InitialSize = 0;
  3392.              pVirtMem->Pagefile[Index].MaximumSize = 0;
  3393.  
  3394. -            // check to see if this drive is used for a paging file
  3395. +            // Check to see if this drive is used for a paging file
  3396.              if (IsDlgButtonChecked(pVirtMem->hSelf,
  3397.                                     IDC_NOPAGEFILE) == BST_UNCHECKED)
  3398.              {
  3399. @@ -468,7 +468,7 @@
  3400.          if (pVirtMem->Pagefile[Index].InitialSize != 0 &&
  3401.              pVirtMem->Pagefile[Index].MaximumSize != 0)
  3402.          {
  3403. -            /* enable and fill the custom values */
  3404. +            /* Enable and fill the custom values */
  3405.              EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_MAXSIZE), TRUE);
  3406.              EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_INITIALSIZE), TRUE);
  3407.  
  3408. @@ -492,7 +492,7 @@
  3409.              EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_MAXSIZE), FALSE);
  3410.              EnableWindow(GetDlgItem(pVirtMem->hSelf, IDC_INITIALSIZE), FALSE);
  3411.  
  3412. -            /* is it system managed */
  3413. +            /* Is it system managed */
  3414.              if (pVirtMem->Pagefile[Index].bUsed)
  3415.              {
  3416.                  CheckDlgButton(pVirtMem->hSelf,
  3417. @@ -636,4 +636,4 @@
  3418.      }
  3419.  
  3420.      return FALSE;
  3421. -}
  3422. +}
  3423. \ No newline at end of file
  3424. Index: dll/cpl/telephon/resource.h
  3425. ===================================================================
  3426. --- dll/cpl/telephon/resource.h (revision 54086)
  3427. +++ dll/cpl/telephon/resource.h (working copy)
  3428. @@ -1,9 +1,9 @@
  3429.  #pragma once
  3430.  
  3431. -/* icons */
  3432. +/* Icons */
  3433.  #define IDI_CPLSYSTEM  100
  3434.  
  3435. -/* strings */
  3436. +/* Strings */
  3437.  #define IDS_CPLSYSTEMNAME          1001
  3438.  #define IDS_CPLSYSTEMDESCRIPTION   2001
  3439.  
  3440. Index: dll/cpl/telephon/telephon.c
  3441. ===================================================================
  3442. --- dll/cpl/telephon/telephon.c (revision 54086)
  3443. +++ dll/cpl/telephon/telephon.c (working copy)
  3444. @@ -64,4 +64,4 @@
  3445.  DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
  3446.  {
  3447.      return TRUE;
  3448. -}
  3449. +}
  3450. \ No newline at end of file
  3451. Index: dll/cpl/timedate/clock.c
  3452. ===================================================================
  3453. --- dll/cpl/timedate/clock.c    (revision 54086)
  3454. +++ dll/cpl/timedate/clock.c    (working copy)
  3455. @@ -54,24 +54,24 @@
  3456.       HBRUSH hBrushOld;
  3457.       HPEN hPenOld = NULL;
  3458.  
  3459. -     /* grey brush to fill the dots */
  3460. +     /* Grey brush to fill the dots */
  3461.       hBrushOld = SelectObject(hdc, pClockData->hGreyBrush);
  3462.  
  3463.       hPenOld = GetCurrentObject(hdc, OBJ_PEN);
  3464.  
  3465. -     // TODO: check if this conversion is correct resp. usable
  3466. +     // TODO: Check if this conversion is correct resp. usable
  3467.       Radius = min(pClockData->cxClient,pClockData->cyClient) * 2;
  3468.  
  3469.       for (iAngle = 0; iAngle < 360; iAngle += 6)
  3470.       {
  3471. -          /* starting coords */
  3472. +          /* Starting coords */
  3473.            pt[0].x = 0;
  3474.            pt[0].y = Radius;
  3475.  
  3476. -          /* rotate start coords */
  3477. +          /* Rotate start coords */
  3478.            RotatePoint(pt, 1, iAngle);
  3479.  
  3480. -          /* determine whether it's a big dot or a little dot
  3481. +          /* Determine whether it's a big dot or a little dot
  3482.             * i.e. 1-4 or 5, 6-9 or 10, 11-14 or 15 */
  3483.            if (iAngle % 5)
  3484.            {
  3485. @@ -288,4 +288,4 @@
  3486.  {
  3487.      UnregisterClassW(szClockWndClass,
  3488.                       hApplet);
  3489. -}
  3490. +}
  3491. \ No newline at end of file
  3492. Index: dll/cpl/timedate/dateandtime.c
  3493. ===================================================================
  3494. --- dll/cpl/timedate/dateandtime.c  (revision 54086)
  3495. +++ dll/cpl/timedate/dateandtime.c  (working copy)
  3496. @@ -239,7 +239,7 @@
  3497.  {
  3498.      UNREFERENCED_PARAMETER(lpAutoUpdate);
  3499.  
  3500. -    /* update the controls */
  3501. +    /* Update the controls */
  3502.      FillMonthsComboBox(GetDlgItem(hwndDlg,
  3503.                                    IDC_MONTHCB));
  3504.  }
  3505. @@ -254,7 +254,7 @@
  3506.      switch (uMsg)
  3507.      {
  3508.          case WM_KEYDOWN:
  3509. -            /* stop the timer when the user is about to change the time */
  3510. +            /* Stop the timer when the user is about to change the time */
  3511.              if ((wParam != VK_LEFT) & (wParam != VK_RIGHT))
  3512.                  KillTimer(GetParent(hwnd), ID_TIMER);
  3513.              break;
  3514. @@ -281,7 +281,7 @@
  3515.  
  3516.              SetTimer(hwndDlg, ID_TIMER, 1000, NULL);
  3517.  
  3518. -            /* set range and current year */
  3519. +            /* Set range and current year */
  3520.              SendMessageW(GetDlgItem(hwndDlg, IDC_YEAR), UDM_SETRANGE, 0, MAKELONG ((short) 9999, (short) 1900));
  3521.              SendMessageW(GetDlgItem(hwndDlg, IDC_YEAR), UDM_SETPOS, 0, MAKELONG( (short) st.wYear, 0));
  3522.  
  3523. @@ -393,7 +393,7 @@
  3524.          break;
  3525.  
  3526.          case WM_TIMECHANGE:
  3527. -            /* FIXME - we don't get this message as we're not a top-level window... */
  3528. +            /* FIXME: We don't get this message as we're not a top-level window... */
  3529.              SendMessageW(GetDlgItem(hwndDlg,
  3530.                                      IDC_MONTHCALENDAR),
  3531.                           MCCM_RESET,
  3532. @@ -407,4 +407,4 @@
  3533.      }
  3534.  
  3535.      return FALSE;
  3536. -}
  3537. +}
  3538. \ No newline at end of file
  3539. Index: dll/cpl/timedate/internettime.c
  3540. ===================================================================
  3541. --- dll/cpl/timedate/internettime.c (revision 54086)
  3542. +++ dll/cpl/timedate/internettime.c (working copy)
  3543. @@ -47,7 +47,7 @@
  3544.                               &dwNameSize);
  3545.          if (lRet == ERROR_SUCCESS)
  3546.          {
  3547. -            /* get date from default reg value */
  3548. +            /* Get date from default reg value */
  3549.              if (wcscmp(szValName, L"") == 0) // if (Index == 0)
  3550.              {
  3551.                  dwDefault = _wtoi(szData);
  3552. @@ -71,8 +71,8 @@
  3553.      if (dwDefault < 1 || dwDefault > dwIndex)
  3554.          dwDefault = 1;
  3555.  
  3556. -    /* server reg entries count from 1,
  3557. -     * combo boxes count from 0 */
  3558. +    /* Server reg entries count from 1,
  3559. +     * Combo boxes count from 0 */
  3560.      dwDefault--;
  3561.  
  3562.      SendMessageW(hList,
  3563. @@ -99,11 +99,11 @@
  3564.  
  3565.      uSel = (UINT)SendMessageW(hList, CB_GETCURSEL, 0, 0);
  3566.  
  3567. -    /* server reg entries count from 1,
  3568. -     * combo boxes count from 0 */
  3569. +    /* Server reg entries count from 1,
  3570. +     * Combo boxes count from 0 */
  3571.      uSel++;
  3572.  
  3573. -    /* convert to wide char */
  3574. +    /* Convert to wide char */
  3575.      _itow(uSel, szSel, 10);
  3576.  
  3577.      lRet = RegOpenKeyExW(HKEY_LOCAL_MACHINE,
  3578. @@ -130,7 +130,7 @@
  3579.  }
  3580.  
  3581.  
  3582. -/* get the domain name from the registry */
  3583. +/* Get the domain name from the registry */
  3584.  static BOOL
  3585.  GetNTPServerAddress(LPWSTR *lpAddress)
  3586.  {
  3587. @@ -199,7 +199,7 @@
  3588.  }
  3589.  
  3590.  
  3591. -/* request the time from the current NTP server */
  3592. +/* Request the time from the current NTP server */
  3593.  static ULONG
  3594.  GetTimeFromServer(VOID)
  3595.  {
  3596. @@ -230,7 +230,7 @@
  3597.      LARGE_INTEGER li;
  3598.      SYSTEMTIME stNew;
  3599.  
  3600. -    /* time at 1st Jan 1900 */
  3601. +    /* Time at 1st Jan 1900 */
  3602.      stNew.wYear = 1900;
  3603.      stNew.wMonth = 1;
  3604.      stNew.wDay = 1;
  3605. @@ -239,19 +239,19 @@
  3606.      stNew.wSecond = 0;
  3607.      stNew.wMilliseconds = 0;
  3608.  
  3609. -    /* convert to a file time */
  3610. +    /* Convert to a file time */
  3611.      if (!SystemTimeToFileTime(&stNew, &ftNew))
  3612.      {
  3613.          DisplayWin32Error(GetLastError());
  3614.          return;
  3615.      }
  3616.  
  3617. -    /* add on the time passed since 1st Jan 1900 */
  3618. +    /* Add on the time passed since 1st Jan 1900 */
  3619.      li = *(LARGE_INTEGER *)&ftNew;
  3620.      li.QuadPart += (LONGLONG)10000000 * ulTime;
  3621.      ftNew = * (FILETIME *)&li;
  3622.  
  3623. -    /* convert back to a system time */
  3624. +    /* Convert back to a system time */
  3625.      if (!FileTimeToSystemTime(&ftNew, &stNew))
  3626.      {
  3627.          DisplayWin32Error(GetLastError());
  3628. @@ -388,4 +388,4 @@
  3629.      }
  3630.  
  3631.      return FALSE;
  3632. -}
  3633. +}
  3634. \ No newline at end of file
  3635. Index: dll/cpl/timedate/monthcal.c
  3636. ===================================================================
  3637. --- dll/cpl/timedate/monthcal.c (revision 54086)
  3638. +++ dll/cpl/timedate/monthcal.c (working copy)
  3639. @@ -76,7 +76,7 @@
  3640.  }
  3641.  
  3642.  /*
  3643. - * for the year range 1..9999
  3644. + * For the year range 1..9999
  3645.   * return 1 if is leap year otherwise 0
  3646.   */
  3647.  static WORD LeapYear(IN WORD Year)
  3648. @@ -100,7 +100,7 @@
  3649.      {
  3650.  #ifdef WITH_1752
  3651.          if ((Year == 1752) && (Month == 9))
  3652. -      return 19; // special case: September 1752 has no 3rd-13th
  3653. +      return 19; // Special case: September 1752 has no 3rd-13th
  3654.     else
  3655.  #endif
  3656.            return MonthDays[Month - 1];
  3657. @@ -180,7 +180,7 @@
  3658.          RepaintHeader = TRUE;
  3659.      }
  3660.  
  3661. -    /* update the days layout of the current month */
  3662. +    /* Update the days layout of the current month */
  3663.      ZeroMemory(infoPtr->Days,
  3664.                 sizeof(infoPtr->Days));
  3665.  
  3666. @@ -199,7 +199,7 @@
  3667.          *(pDay++) = (BYTE)++d;
  3668.      }
  3669.  
  3670. -    /* repaint the control */
  3671. +    /* Repaint the control */
  3672.      if (RepaintHeader)
  3673.      {
  3674.          InvalidateRect(infoPtr->hSelf,
  3675. @@ -227,10 +227,10 @@
  3676.      SYSTEMTIME LocalTime = {0};
  3677.      UINT uElapse;
  3678.  
  3679. -    /* update the current date */
  3680. +    /* Update the current date */
  3681.      GetLocalTime(&LocalTime);
  3682.  
  3683. -    /* calculate the number of remaining milliseconds until midnight */
  3684. +    /* Calculate the number of remaining milliseconds until midnight */
  3685.      uElapse = 1000 - (UINT)LocalTime.wMilliseconds;
  3686.      uElapse += (59 - (UINT)LocalTime.wSecond) * 1000;
  3687.      uElapse += (59 - (UINT)LocalTime.wMinute) * 60 * 1000;
  3688. @@ -241,7 +241,7 @@
  3689.      else
  3690.          uElapse += 100; /* Add a delay of 0.1 seconds */
  3691.  
  3692. -    /* setup the new timer */
  3693. +    /* Setup the new timer */
  3694.      if (SetTimer(infoPtr->hSelf,
  3695.                   ID_DAYTIMER,
  3696.                   uElapse,
  3697. @@ -263,7 +263,7 @@
  3698.                                              0,
  3699.                                              0);
  3700.  
  3701. -    /* cache the configuration */
  3702. +    /* Cache the configuration */
  3703.      infoPtr->FirstDayOfWeek = MonthCalFirstDayOfWeek();
  3704.  
  3705.      infoPtr->hbHeader = GetSysColorBrush(infoPtr->Enabled ? MONTHCAL_HEADERBG : MONTHCAL_DISABLED_HEADERBG);
  3706. @@ -281,7 +281,7 @@
  3707.          }
  3708.      }
  3709.  
  3710. -    /* update the control */
  3711. +    /* Update the control */
  3712.      MonthCalUpdate(infoPtr);
  3713.  }
  3714.  
  3715. @@ -317,7 +317,7 @@
  3716.  {
  3717.      infoPtr->Changed = TRUE;
  3718.  
  3719. -    /* kill the day timer */
  3720. +    /* Kill the day timer */
  3721.      if (infoPtr->DayTimerSet)
  3722.      {
  3723.          KillTimer(infoPtr->hSelf,
  3724. @@ -343,12 +343,12 @@
  3725.      sc.NewMonth = Month;
  3726.      sc.NewYear = Year;
  3727.  
  3728. -    /* notify the parent */
  3729. +    /* Notify the parent */
  3730.      if (!MonthCalNotifyControlParent(infoPtr,
  3731.                                       MCCN_SELCHANGE,
  3732.                                       &sc))
  3733.      {
  3734. -        /* check if we actually need to update */
  3735. +        /* Check if we actually need to update */
  3736.          if (infoPtr->Month != sc.NewMonth ||
  3737.              infoPtr->Year != sc.NewYear)
  3738.          {
  3739. @@ -358,7 +358,7 @@
  3740.  
  3741.              MonthCalChange(infoPtr);
  3742.  
  3743. -            /* repaint the entire control */
  3744. +            /* Repaint the entire control */
  3745.              MonthCalUpdate(infoPtr);
  3746.  
  3747.              Ret = TRUE;
  3748. @@ -375,7 +375,7 @@
  3749.                                     sc.OldDay,
  3750.                                     &rcUpdate))
  3751.              {
  3752. -                /* repaint the day cells that need to be updated */
  3753. +                /* Repaint the day cells that need to be updated */
  3754.                  InvalidateRect(infoPtr->hSelf,
  3755.                                 &rcUpdate,
  3756.                                 TRUE);
  3757. @@ -419,7 +419,7 @@
  3758.          }
  3759.      }
  3760.  
  3761. -    /* kill the day timer */
  3762. +    /* Kill the day timer */
  3763.      if (infoPtr->DayTimerSet)
  3764.      {
  3765.          KillTimer(infoPtr->hSelf,
  3766. @@ -427,7 +427,7 @@
  3767.          infoPtr->DayTimerSet = FALSE;
  3768.      }
  3769.  
  3770. -    /* setup the new day timer */
  3771. +    /* Setup the new day timer */
  3772.      MonthCalSetupDayTimer(infoPtr);
  3773.  
  3774.      if (Time != NULL)
  3775. @@ -488,7 +488,7 @@
  3776.          {
  3777.              RECT rcHeader;
  3778.  
  3779. -            /* paint the header */
  3780. +            /* Paint the header */
  3781.              rcHeader.left = prcUpdate->left;
  3782.              rcHeader.top = rcCell.top;
  3783.              rcHeader.right = prcUpdate->right;
  3784. @@ -508,7 +508,7 @@
  3785.                  rcCell.left = x * infoPtr->CellSize.cx;
  3786.                  rcCell.right = rcCell.left + infoPtr->CellSize.cx;
  3787.  
  3788. -                /* write the first letter of each weekday */
  3789. +                /* Write the first letter of each weekday */
  3790.                  DrawTextW(hDC,
  3791.                            &infoPtr->Week[x],
  3792.                            1,
  3793. @@ -536,7 +536,7 @@
  3794.                  rcCell.left = x * infoPtr->CellSize.cx;
  3795.                  rcCell.right = rcCell.left + infoPtr->CellSize.cx;
  3796.  
  3797. -                /* write the day number */
  3798. +                /* Write the day number */
  3799.                  if (Day != 0 && Day < 100)
  3800.                  {
  3801.                      WCHAR szDay[3];
  3802. @@ -588,14 +588,14 @@
  3803.                                  goto FailNoHighlight;
  3804.                              }
  3805.  
  3806. -                            /* highlight the selected day */
  3807. +                            /* Highlight the selected day */
  3808.                              crOldText = SetTextColor(hDC,
  3809.                                                       GetSysColor(infoPtr->Enabled ? MONTHCAL_SELFG : MONTHCAL_DISABLED_SELFG));
  3810.                          }
  3811.                          else
  3812.                          {
  3813.  FailNoHighlight:
  3814. -                            /* don't change the text color, we're not highlighting it... */
  3815. +                            /* Don't change the text color, we're not highlighting it... */
  3816.                              crOldText = CLR_INVALID;
  3817.                          }
  3818.  
  3819. @@ -764,7 +764,7 @@
  3820.                                  infoPtr->Year);
  3821.              }
  3822.  
  3823. -            /* fall through */
  3824. +            /* Fall through */
  3825.          }
  3826.  
  3827.          case WM_MBUTTONDOWN:
  3828. @@ -822,7 +822,7 @@
  3829.                  }
  3830.              }
  3831.  
  3832. -            /* update the selection */
  3833. +            /* Update the selection */
  3834.              if (NewDay != 0)
  3835.              {
  3836.                  MonthCalSetDate(infoPtr,
  3837. @@ -843,7 +843,7 @@
  3838.              {
  3839.                  case VK_TAB:
  3840.                  {
  3841. -                    /* change the UI status */
  3842. +                    /* Change the UI status */
  3843.                      SendMessageW(GetAncestor(hwnd,
  3844.                                               GA_PARENT),
  3845.                                   WM_CHANGEUISTATE,
  3846. @@ -972,18 +972,18 @@
  3847.              {
  3848.                  case ID_DAYTIMER:
  3849.                  {
  3850. -                    /* kill the timer */
  3851. +                    /* Kill the timer */
  3852.                      KillTimer(hwnd,
  3853.                                ID_DAYTIMER);
  3854.                      infoPtr->DayTimerSet = FALSE;
  3855.  
  3856.                      if (!infoPtr->Changed)
  3857.                      {
  3858. -                        /* update the system time and setup the new day timer */
  3859. +                        /* Update the system time and setup the new day timer */
  3860.                          MonthCalSetLocalTime(infoPtr,
  3861.                                               NULL);
  3862.  
  3863. -                        /* update the control */
  3864. +                        /* Update the control */
  3865.                          MonthCalUpdate(infoPtr);
  3866.                      }
  3867.                      break;
  3868. @@ -1007,7 +1007,7 @@
  3869.              infoPtr->CellSize.cx = infoPtr->ClientSize.cx / 7;
  3870.              infoPtr->CellSize.cy = infoPtr->ClientSize.cy / 7;
  3871.  
  3872. -            /* repaint the control */
  3873. +            /* Repaint the control */
  3874.              InvalidateRect(hwnd,
  3875.                             NULL,
  3876.                             TRUE);
  3877. @@ -1118,4 +1118,4 @@
  3878.  {
  3879.      UnregisterClassW(szMonthCalWndClass,
  3880.                       hInstance);
  3881. -}
  3882. +}
  3883. \ No newline at end of file
  3884. Index: dll/cpl/timedate/ntpclient.c
  3885. ===================================================================
  3886. --- dll/cpl/timedate/ntpclient.c    (revision 54086)
  3887. +++ dll/cpl/timedate/ntpclient.c    (working copy)
  3888. @@ -40,11 +40,11 @@
  3889.      if (pInfo->Sock == INVALID_SOCKET)
  3890.          return FALSE;
  3891.  
  3892. -    /* setup server info */
  3893. +    /* Setup server info */
  3894.      he = gethostbyname(lpAddress);
  3895.      if (he != NULL)
  3896.      {
  3897. -        /* setup server socket info */
  3898. +        /* Setup server socket info */
  3899.          ZeroMemory(&pInfo->ntpAddr, sizeof(SOCKADDR_IN));
  3900.          pInfo->ntpAddr.sin_family = AF_INET; //he->h_addrtype;
  3901.          pInfo->ntpAddr.sin_port = htons(NTPPORT);
  3902. @@ -71,7 +71,7 @@
  3903.  }
  3904.  
  3905.  
  3906. -/* send some data to wake the server up */
  3907. +/* Send some data to wake the server up */
  3908.  static BOOL
  3909.  SendData(PINFO pInfo)
  3910.  {
  3911. @@ -106,15 +106,15 @@
  3912.      INT Ret;
  3913.      ULONG ulTime = 0;
  3914.  
  3915. -    /* monitor socket for incomming connections */
  3916. +    /* Monitor socket for incomming connections */
  3917.      FD_ZERO(&readFDS);
  3918.      FD_SET(pInfo->Sock, &readFDS);
  3919.  
  3920. -    /* set timeout values */
  3921. +    /* Set timeout values */
  3922.      timeVal.tv_sec  = TIMEOUT / 1000;
  3923.      timeVal.tv_usec = TIMEOUT % 1000;
  3924.  
  3925. -    /* check for data on the socket for TIMEOUT millisecs*/
  3926. +    /* Check for data on the socket for TIMEOUT millisecs*/
  3927.      Ret = select(0, &readFDS, NULL, NULL, &timeVal);
  3928.  
  3929.      if ((Ret != SOCKET_ERROR) && (Ret != 0))
  3930. @@ -178,4 +178,4 @@
  3931.          HeapFree(GetProcessHeap(), 0, lpAddr);
  3932.  
  3933.      return ulTime;
  3934. -}
  3935. +}
  3936. \ No newline at end of file
  3937. Index: dll/cpl/timedate/timedate.c
  3938. ===================================================================
  3939. --- dll/cpl/timedate/timedate.c (revision 54086)
  3940. +++ dll/cpl/timedate/timedate.c (working copy)
  3941. @@ -170,4 +170,4 @@
  3942.      }
  3943.  
  3944.      return TRUE;
  3945. -}
  3946. +}
  3947. \ No newline at end of file
  3948. Index: dll/cpl/timedate/timedate.h
  3949. ===================================================================
  3950. --- dll/cpl/timedate/timedate.h (revision 54086)
  3951. +++ dll/cpl/timedate/timedate.h (working copy)
  3952. @@ -109,4 +109,4 @@
  3953.  BOOL RegisterMonthCalControl(IN HINSTANCE hInstance);
  3954.  VOID UnregisterMonthCalControl(IN HINSTANCE hInstance);
  3955.  
  3956. -/* EOF */
  3957. +/* EOF */
  3958. \ No newline at end of file
  3959. Index: dll/cpl/timedate/timezone.c
  3960. ===================================================================
  3961. --- dll/cpl/timedate/timezone.c (revision 54086)
  3962. +++ dll/cpl/timedate/timezone.c (working copy)
  3963. @@ -331,7 +331,7 @@
  3964.                        &hKey))
  3965.          return;
  3966.  
  3967. -    /* if the call fails (non zero), the reg value isn't available,
  3968. +    /* If the call fails (non zero), the reg value isn't available,
  3969.       * which means it shouldn't be disabled, so we should check the button.
  3970.       */
  3971.      if (RegQueryValueExW(hKey,
  3972. @@ -466,4 +466,4 @@
  3973.      }
  3974.  
  3975.    return FALSE;
  3976. -}
  3977. +}
  3978. \ No newline at end of file
  3979. Index: dll/cpl/usrmgr/extra.c
  3980. ===================================================================
  3981. --- dll/cpl/usrmgr/extra.c  (revision 54086)
  3982. +++ dll/cpl/usrmgr/extra.c  (working copy)
  3983. @@ -30,4 +30,4 @@
  3984.      }
  3985.  
  3986.      return FALSE;
  3987. -}
  3988. +}
  3989. \ No newline at end of file
  3990. Index: dll/cpl/usrmgr/groups.c
  3991. ===================================================================
  3992. --- dll/cpl/usrmgr/groups.c (revision 54086)
  3993. +++ dll/cpl/usrmgr/groups.c (working copy)
  3994. @@ -275,7 +275,7 @@
  3995.                           szGroupName,
  3996.                           UNLEN);
  3997.  
  3998. -    /* Display a warning message because the delete operation cannot be reverted */
  3999. +    /* Display a warning message, because the delete operation cannot be reverted */
  4000.      wsprintf(szText, TEXT("Dou you really want to delete the user group \"%s\"?"), szGroupName);
  4001.      if (MessageBox(NULL, szText, TEXT("User Groups"), MB_ICONWARNING | MB_YESNO) == IDNO)
  4002.          return FALSE;
  4003. @@ -505,4 +505,4 @@
  4004.      }
  4005.  
  4006.      return FALSE;
  4007. -}
  4008. +}
  4009. \ No newline at end of file
  4010. Index: dll/cpl/usrmgr/misc.c
  4011. ===================================================================
  4012. --- dll/cpl/usrmgr/misc.c   (revision 54086)
  4013. +++ dll/cpl/usrmgr/misc.c   (working copy)
  4014. @@ -49,4 +49,4 @@
  4015.      }
  4016.  
  4017.      return TRUE;
  4018. -}
  4019. +}
  4020. \ No newline at end of file
  4021. Index: dll/cpl/usrmgr/userprops.c
  4022. ===================================================================
  4023. --- dll/cpl/usrmgr/userprops.c  (revision 54086)
  4024. +++ dll/cpl/usrmgr/userprops.c  (working copy)
  4025. @@ -945,4 +945,4 @@
  4026.      InitPropSheetPage(&psp[2], IDD_USER_PROFILE, (DLGPROC)UserProfilePageProc, szUserName);
  4027.  
  4028.      return (PropertySheet(&psh) == IDOK);
  4029. -}
  4030. +}
  4031. \ No newline at end of file
  4032. Index: dll/cpl/usrmgr/users.c
  4033. ===================================================================
  4034. --- dll/cpl/usrmgr/users.c  (revision 54086)
  4035. +++ dll/cpl/usrmgr/users.c  (working copy)
  4036. @@ -703,4 +703,4 @@
  4037.      }
  4038.  
  4039.      return FALSE;
  4040. -}
  4041. +}
  4042. \ No newline at end of file
  4043. Index: dll/cpl/usrmgr/usrmgr.c
  4044. ===================================================================
  4045. --- dll/cpl/usrmgr/usrmgr.c (revision 54086)
  4046. +++ dll/cpl/usrmgr/usrmgr.c (working copy)
  4047. @@ -119,4 +119,4 @@
  4048.      }
  4049.  
  4050.      return TRUE;
  4051. -}
  4052. +}
  4053. \ No newline at end of file
  4054. Index: dll/cpl/usrmgr/usrmgr.h
  4055. ===================================================================
  4056. --- dll/cpl/usrmgr/usrmgr.h (revision 54086)
  4057. +++ dll/cpl/usrmgr/usrmgr.h (working copy)
  4058. @@ -41,4 +41,4 @@
  4059.  
  4060.  /* userprops.c */
  4061.  BOOL
  4062. -UserProperties(HWND hwndDlg);
  4063. +UserProperties(HWND hwndDlg);
  4064. \ No newline at end of file
  4065.  
  4066.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement