Author: hbelusca
Date: Sun Dec 14 21:56:21 2014
New Revision: 65654
URL:
http://svn.reactos.org/svn/reactos?rev=65654&view=rev
Log:
[MSPAINT]: Remove trailing whitespace.
Modified:
trunk/reactos/base/applications/mspaint/definitions.h
trunk/reactos/base/applications/mspaint/drawing.c
trunk/reactos/base/applications/mspaint/globalvar.h
trunk/reactos/base/applications/mspaint/lang/pl-PL.rc
trunk/reactos/base/applications/mspaint/main.c
trunk/reactos/base/applications/mspaint/rsrc.rc
trunk/reactos/base/applications/mspaint/selection.c
trunk/reactos/base/applications/mspaint/textedit.c
trunk/reactos/base/applications/mspaint/winproc.c
Modified: trunk/reactos/base/applications/mspaint/definitions.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/definitions.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/definitions.h [iso-8859-1] Sun Dec 14 21:56:21
2014
@@ -5,7 +5,7 @@
* PURPOSE: Defines the resource ids and other stuff
* PROGRAMMERS: Benedikt Freisen
*/
-
+
/* DEFINES **********************************************************/
#define HISTORYSIZE 11
Modified: trunk/reactos/base/applications/mspaint/drawing.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/drawing.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/drawing.c [iso-8859-1] Sun Dec 14 21:56:21
2014
@@ -128,7 +128,7 @@
{
LONG a, b, x, y;
b = max(1, max(abs(x2 - x1), abs(y2 - y1)));
-
+
for(a = 0; a <= b; a++)
for(y = (y1 * (b - a) + y2 * a) / b - radius + 1;
y < (y1 * (b - a) + y2 * a) / b + radius + 1; y++)
@@ -142,7 +142,7 @@
Airbrush(HDC hdc, LONG x, LONG y, COLORREF color, LONG r)
{
LONG a, b;
-
+
for(b = -r; b <= r; b++)
for(a = -r; a <= r; a++)
if ((a * a + b * b <= r * r) && (rand() % 4 == 0))
@@ -195,7 +195,7 @@
case 10:
case 11:
{
- POINT offsTop[] = {{4, -3}, {2, -2}, {0, 0},
+ POINT offsTop[] = {{4, -3}, {2, -2}, {0, 0},
{-3, -3}, {-2, -2}, {-1, 0}};
POINT offsBtm[] = {{-3, 4}, {-2, 2}, {-1, 1},
{4, 4}, {2, 2}, {0, 1}};
Modified: trunk/reactos/base/applications/mspaint/globalvar.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/globalvar.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/globalvar.h [iso-8859-1] Sun Dec 14 21:56:21
2014
@@ -5,7 +5,7 @@
* PURPOSE: Declaring global variables for later initialization
* PROGRAMMERS: Benedikt Freisen
*/
-
+
/* INCLUDES *********************************************************/
//#include <windows.h>
@@ -93,7 +93,7 @@
extern HWND hToolBtn[16];
extern HINSTANCE hProgInstance;
-
+
extern TCHAR filename[256];
extern TCHAR filepathname[1000];
extern BOOL isAFile;
Modified: trunk/reactos/base/applications/mspaint/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/lang/pl-PL.rc [iso-8859-1] Sun Dec 14 21:56:21
2014
@@ -4,7 +4,7 @@
* FILE: base/applications/mspaint/lang/pl-PL.rc
* PURPOSE: Polish Language resource file
* TRANSLATOR: Caemyr - Olaf Siejka (May, 2009), Use ReactOS forum PM or IRC to contact
me
- * UTF-8 conversion by Caemyr (May, 2011)
+ * UTF-8 conversion by Caemyr (May, 2011)
*/
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
Modified: trunk/reactos/base/applications/mspaint/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/main.c [iso-8859-1] Sun Dec 14 21:56:21 2014
@@ -139,7 +139,7 @@
{
HWND hwnd; /* This is the handle for our window */
MSG messages; /* Here messages to the application are saved */
-
+
TCHAR progtitle[1000];
TCHAR resstr[100];
HMENU menu;
@@ -150,7 +150,7 @@
int i;
TCHAR tooltips[16][30];
HDC hDC;
-
+
TCHAR *c;
TCHAR sfnFilename[1000];
TCHAR sfnFiletitle[256];
@@ -202,7 +202,7 @@
LoadString(hThisInstance, IDS_WINDOWTITLE, resstr, SIZEOF(resstr));
_stprintf(progtitle, resstr, filename);
LoadString(hThisInstance, IDS_MINIATURETITLE, miniaturetitle,
SIZEOF(miniaturetitle));
-
+
/* create main window */
hwnd =
CreateWindowEx(0, _T("MainWindow"), progtitle, WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, CW_USEDEFAULT, 544,
@@ -240,8 +240,8 @@
/* creating the 16 bitmap radio buttons and setting the bitmap */
- /*
- * FIXME: Unintentionally there is a line above the tool bar (hidden by y-offset).
+ /*
+ * FIXME: Unintentionally there is a line above the tool bar (hidden by y-offset).
* To prevent cropping of the buttons height has been increased from 200 to 205
*/
hToolbar =
@@ -254,7 +254,7 @@
ImageList_AddMasked(hImageList, tempBm, 0xff00ff);
DeleteObject(tempBm);
SendMessage(hToolbar, TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0);
-
+
for(i = 0; i < 16; i++)
{
TBBUTTON tbbutton;
@@ -272,7 +272,7 @@
tbbutton.iBitmap = i;
SendMessage(hToolbar, TB_ADDBUTTONS, 1, (LPARAM) &tbbutton);
}
-
+
SendMessage(hToolbar, TB_CHECKBUTTON, ID_PEN, MAKELONG(TRUE, 0));
SendMessage(hToolbar, TB_SETMAXTEXTROWS, 0, 0);
SendMessage(hToolbar, TB_SETBUTTONSIZE, 0, MAKELONG(25, 25));
Modified: trunk/reactos/base/applications/mspaint/rsrc.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/rsrc.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/rsrc.rc [iso-8859-1] Sun Dec 14 21:56:21 2014
@@ -5,7 +5,7 @@
* PURPOSE: Managing the resources
* PROGRAMMERS: Benedikt Freisen
*/
-
+
/* INCLUDES *********************************************************/
#include <windef.h>
Modified: trunk/reactos/base/applications/mspaint/selection.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/selection.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/selection.c [iso-8859-1] Sun Dec 14 21:56:21
2014
@@ -25,8 +25,8 @@
/* FUNCTIONS ********************************************************/
LPCTSTR cursors[9] = { /* action to mouse cursor lookup table */
- IDC_SIZEALL,
-
+ IDC_SIZEALL,
+
IDC_SIZENWSE, IDC_SIZENS, IDC_SIZENESW,
IDC_SIZEWE, IDC_SIZEWE,
IDC_SIZENESW, IDC_SIZENS, IDC_SIZENWSE
@@ -66,7 +66,7 @@
HBITMAP hTempBm;
HBRUSH hTempBrush;
HBITMAP hTempMask;
-
+
hTempDC = CreateCompatibleDC(hdcSrc);
hTempDC2 = CreateCompatibleDC(hdcSrc);
hTempBm = CreateCompatibleBitmap(hTempDC, nWidth, nHeight);
@@ -280,7 +280,7 @@
{
if (activeTool == TOOL_TEXT)
{
-
+ // FIXME: What to do?
}
else
{
Modified: trunk/reactos/base/applications/mspaint/textedit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/textedit.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/textedit.c [iso-8859-1] Sun Dec 14 21:56:21
2014
@@ -65,6 +65,6 @@
default:
return DefWindowProc(hwnd, message, wParam, lParam);
}
-
+
return 0;
}
Modified: trunk/reactos/base/applications/mspaint/winproc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/winproc.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/winproc.c [iso-8859-1] Sun Dec 14 21:56:21
2014
@@ -440,7 +440,7 @@
}
break;
- // mouse events used for drawing
+ // mouse events used for drawing
case WM_SETCURSOR:
if (hwnd == hImageArea)