From 0cb1173e188def6a1cc17d8d7b1ffe135764b8a6 Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 22 Jul 2014 16:19:09 +0000 Subject: [PATCH] Fixes to comments etc. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@49133 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/devs/trackdisk/trackdisk_device.c | 2 +- rom/graphics/setrgb32cm.c | 3 ++- rom/intuition/beginrefresh.c | 6 +++--- rom/intuition/frameiclass.c | 2 +- rom/intuition/openscreen.c | 4 +++- rom/intuition/openwindow.c | 4 ++-- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/rom/devs/trackdisk/trackdisk_device.c b/rom/devs/trackdisk/trackdisk_device.c index 8f1ff1c60b..d53508ac5d 100644 --- a/rom/devs/trackdisk/trackdisk_device.c +++ b/rom/devs/trackdisk/trackdisk_device.c @@ -737,7 +737,7 @@ static void TD_DevTask(struct TrackDiskBase *tdb) if the disk is not in drive. We can perform this test only once inside TD_CHANGESTATE command which is invoked by DISKCHANGE CLI command. This means that we'll have to issue DISKCHANGE command - manually after wi insert the disk, but this is probably better + manually after we insert the disk, but this is probably better than those clicks. */ if (tdu->pub.tdu_PubFlags & TDPF_NOCLICK) { diff --git a/rom/graphics/setrgb32cm.c b/rom/graphics/setrgb32cm.c index 5ce64b966d..1ee0eb12ed 100644 --- a/rom/graphics/setrgb32cm.c +++ b/rom/graphics/setrgb32cm.c @@ -39,7 +39,8 @@ Store the (r,g,b) triplet at index n in the ColorMap structure. The changes will not be immediately displayed. Use this function before linking the ColorMap to a ViewPort. Do not access the entries - in the ColorTable yourself, as the ColorTable is subject to change. + in the ColorTable yourself, as the ColorTable format is subject to + change. NOTES diff --git a/rom/intuition/beginrefresh.c b/rom/intuition/beginrefresh.c index f4d140ae80..2c95428b96 100644 --- a/rom/intuition/beginrefresh.c +++ b/rom/intuition/beginrefresh.c @@ -1,5 +1,5 @@ /* - Copyright © 1995-2013, The AROS Development Team. All rights reserved. + Copyright © 1995-2014, The AROS Development Team. All rights reserved. Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved. $Id$ */ @@ -41,12 +41,12 @@ BeginRefresh() and EndRefresh(). BeginRefresh()/EndRefresh() should always be called when an - IDCMP_REFRESHWINDWOW message happens. + IDCMP_REFRESHWINDOW message happens. EXAMPLE Somewhere in your window's event handling loop: - case IDCMP_REFRESHWINDWOW: + case IDCMP_REFRESHWINDOW: BeginRefresh(mywindow); EndRefresh(mywindow, TRUE); break; diff --git a/rom/intuition/frameiclass.c b/rom/intuition/frameiclass.c index 4c75b368c8..60b733ba10 100644 --- a/rom/intuition/frameiclass.c +++ b/rom/intuition/frameiclass.c @@ -66,7 +66,7 @@ static void DrawFrame(Class * cl, struct RastPort *rport, UWORD shine, UWORD sha It should be futher noted, on the native Amiga chipset, rendering bevels via serious of RectFill()'s is potentially as much as two times faster. However, in the case of AROS the implementation - of the graphics drivers would ofcourse be the determining factor. + of the graphics drivers would of course be the determining factor. Just as on the native OS, 3rd party gfx boards would be a factor. Additionally, if the frame metrics are changed here for whatever diff --git a/rom/intuition/openscreen.c b/rom/intuition/openscreen.c index fbe743f5c4..30f51df6c4 100644 --- a/rom/intuition/openscreen.c +++ b/rom/intuition/openscreen.c @@ -1149,8 +1149,10 @@ static const char THIS_FILE[] = __FILE__; else if (ns.Height > dimensions.MaxRasterHeight) ns.Height = dimensions.MaxRasterHeight; +#ifndef __AROS__ DEBUG_OPENSCREEN(dprintf("OpenScreen: Monitor 0x%lx Width %ld Height %ld\n", screen->Monitor, ns.Width, ns.Height)); +#endif if (ns.Type & CUSTOMBITMAP) { @@ -1492,7 +1494,7 @@ static const char THIS_FILE[] = __FILE__; screen->Screen.ViewPort.DHeight = dclip->MaxY - dclip->MinY + 1; #else /* using vpe data for vesamode/modecontrol is not a good idea since the mode - is changed all the fly and the actual data might not be what we'll use */ + is changed on the fly and the actual data might not be what we'll use */ if (screen->VESAMode) { diff --git a/rom/intuition/openwindow.c b/rom/intuition/openwindow.c index e123c1bec6..5c906aeb89 100644 --- a/rom/intuition/openwindow.c +++ b/rom/intuition/openwindow.c @@ -1,5 +1,5 @@ /* - Copyright © 1995-2013, The AROS Development Team. All rights reserved. + Copyright © 1995-2014, The AROS Development Team. All rights reserved. Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved. $Id$ */ @@ -1463,7 +1463,7 @@ static VOID int_openwindow(struct OpenWindowActionMsg *msg, layertags[3].ti_Data = (IPTR)shape; } - D(dprintf("CreateUpfontLayerTagList(taglist 0x%lx)\n",&layertags)); + D(dprintf("CreateUpfrontLayerTagList(taglist 0x%lx)\n", &layertags)); w->WLayer = CreateUpfrontLayerTagList( &w->WScreen->LayerInfo, w->WScreen->RastPort.BitMap, -- 2.11.4.GIT