Author: bfreisen
Date: Wed Oct 21 17:44:31 2009
New Revision: 43671
URL:
http://svn.reactos.org/svn/reactos?rev=43671&view=rev
Log:
[PAINT] cleanup:
- formatting for enhanced readability
- removal of superfluous variables/assignments
- corrected or added header comment in all files
- change if ... else ... to ?-operator where sensible and readable
- small bugfix in mouse.c concerning rectangle drawing
- fixed some possible string buffer overruns
Modified:
trunk/reactos/base/applications/paint/definitions.h
trunk/reactos/base/applications/paint/dialogs.c
trunk/reactos/base/applications/paint/dialogs.h
trunk/reactos/base/applications/paint/dib.c
trunk/reactos/base/applications/paint/dib.h
trunk/reactos/base/applications/paint/drawing.c
trunk/reactos/base/applications/paint/drawing.h
trunk/reactos/base/applications/paint/globalvar.h
trunk/reactos/base/applications/paint/history.c
trunk/reactos/base/applications/paint/lang/bg-BG.rc
trunk/reactos/base/applications/paint/lang/cs-CZ.rc
trunk/reactos/base/applications/paint/lang/de-DE.rc
trunk/reactos/base/applications/paint/lang/en-GB.rc
trunk/reactos/base/applications/paint/lang/en-US.rc
trunk/reactos/base/applications/paint/lang/es-ES.rc
trunk/reactos/base/applications/paint/lang/eu-ES.rc
trunk/reactos/base/applications/paint/lang/fr-FR.rc
trunk/reactos/base/applications/paint/lang/it-IT.rc
trunk/reactos/base/applications/paint/lang/ja-JP.rc
trunk/reactos/base/applications/paint/lang/nl-NL.rc
trunk/reactos/base/applications/paint/lang/no-NO.rc
trunk/reactos/base/applications/paint/lang/pl-PL.rc
trunk/reactos/base/applications/paint/lang/pt-BR.rc
trunk/reactos/base/applications/paint/lang/pt-PT.rc
trunk/reactos/base/applications/paint/lang/ro-RO.rc
trunk/reactos/base/applications/paint/lang/ru-RU.rc
trunk/reactos/base/applications/paint/lang/sk-SK.rc
trunk/reactos/base/applications/paint/lang/uk-UA.rc
trunk/reactos/base/applications/paint/main.c
trunk/reactos/base/applications/paint/mouse.c
trunk/reactos/base/applications/paint/mouse.h
trunk/reactos/base/applications/paint/palette.c
trunk/reactos/base/applications/paint/palette.h
trunk/reactos/base/applications/paint/registry.c
trunk/reactos/base/applications/paint/registry.h
trunk/reactos/base/applications/paint/rsrc.rc
trunk/reactos/base/applications/paint/selection.c
trunk/reactos/base/applications/paint/selection.h
trunk/reactos/base/applications/paint/sizebox.c
trunk/reactos/base/applications/paint/sizebox.h
trunk/reactos/base/applications/paint/toolsettings.c
trunk/reactos/base/applications/paint/toolsettings.h
trunk/reactos/base/applications/paint/winproc.c
trunk/reactos/base/applications/paint/winproc.h
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/reactos/base/applications/paint/definitions.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/de…
Modified: trunk/reactos/base/applications/paint/dialogs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/di…
Modified: trunk/reactos/base/applications/paint/dialogs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/di…
Modified: trunk/reactos/base/applications/paint/dib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/di…
Modified: trunk/reactos/base/applications/paint/dib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/di…
Modified: trunk/reactos/base/applications/paint/drawing.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/dr…
Modified: trunk/reactos/base/applications/paint/drawing.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/dr…
Modified: trunk/reactos/base/applications/paint/globalvar.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/gl…
Modified: trunk/reactos/base/applications/paint/history.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/hi…
Modified: trunk/reactos/base/applications/paint/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/en-GB.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/eu-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/pt-BR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/pt-PT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/la…
Modified: trunk/reactos/base/applications/paint/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/ma…
Modified: trunk/reactos/base/applications/paint/mouse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/mo…
Modified: trunk/reactos/base/applications/paint/mouse.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/mo…
Modified: trunk/reactos/base/applications/paint/palette.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/pa…
Modified: trunk/reactos/base/applications/paint/palette.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/pa…
Modified: trunk/reactos/base/applications/paint/registry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/re…
Modified: trunk/reactos/base/applications/paint/registry.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/re…
Modified: trunk/reactos/base/applications/paint/rsrc.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/rs…
Modified: trunk/reactos/base/applications/paint/selection.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/se…
Modified: trunk/reactos/base/applications/paint/selection.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/se…
Modified: trunk/reactos/base/applications/paint/sizebox.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/si…
Modified: trunk/reactos/base/applications/paint/sizebox.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/si…
Modified: trunk/reactos/base/applications/paint/toolsettings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/to…
Modified: trunk/reactos/base/applications/paint/toolsettings.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/to…
Modified: trunk/reactos/base/applications/paint/winproc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/wi…
Modified: trunk/reactos/base/applications/paint/winproc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/paint/wi…