diff options
author | Max Horn | 2011-04-14 14:42:21 +0200 |
---|---|---|
committer | Max Horn | 2011-04-14 14:42:21 +0200 |
commit | 8aa6d25c7776ca0a9ee1e5ea85f6b65e10813a98 (patch) | |
tree | 0315de3d4386381a0a16618a5dbd6a978d8ca8fc | |
parent | 2e095e25f2435f0d066d2826176e394bda5c4a9c (diff) | |
download | scummvm-rg350-8aa6d25c7776ca0a9ee1e5ea85f6b65e10813a98.tar.gz scummvm-rg350-8aa6d25c7776ca0a9ee1e5ea85f6b65e10813a98.tar.bz2 scummvm-rg350-8aa6d25c7776ca0a9ee1e5ea85f6b65e10813a98.zip |
ALL: centerd -> centered
-rw-r--r-- | engines/m4/mads_menus.cpp | 2 | ||||
-rw-r--r-- | engines/testbed/graphics.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/m4/mads_menus.cpp b/engines/m4/mads_menus.cpp index 6d16882eca..4ca8154793 100644 --- a/engines/m4/mads_menus.cpp +++ b/engines/m4/mads_menus.cpp @@ -699,7 +699,7 @@ void RexDialogView::onRefresh(RectList *rects, M4Surface *destSurface) { hLine(0, width(), MADS_Y_OFFSET - 2); hLine(0, width(), MADS_Y_OFFSET + MADS_SURFACE_HEIGHT + 2); - // Add in the loaded background vertically centerd + // Add in the loaded background vertically centered _backgroundSurface->copyTo(this, 0, (height() - MADS_SURFACE_HEIGHT) / 2); // Check whether any of the dialog text entries need to be refreshed diff --git a/engines/testbed/graphics.cpp b/engines/testbed/graphics.cpp index be06e58849..c0ce3fea32 100644 --- a/engines/testbed/graphics.cpp +++ b/engines/testbed/graphics.cpp @@ -606,7 +606,7 @@ TestExitStatus GFXtests::mouseMovements() { Common::String info = "Testing Automated Mouse movements.\n" "You should expect cursor hotspot(top-left corner) to automatically move from (0, 0) to (100, 100).\n" - "There we have a rectangle drawn, finally the cursor would lie centerd in that rectangle."; + "There we have a rectangle drawn, finally the cursor would lie centered in that rectangle."; if (Testsuite::handleInteractiveInput(info, "OK", "Skip", kOptionRight)) { Testsuite::logPrintf("Info! Skipping test : Mouse Movements\n"); @@ -637,7 +637,7 @@ TestExitStatus GFXtests::mouseMovements() { g_system->delayMillis(1500); CursorMan.showMouse(false); - if (Testsuite::handleInteractiveInput("Was the cursor centerd in the rectangle at (100, 100)?", "Yes", "No", kOptionRight)) { + if (Testsuite::handleInteractiveInput("Was the cursor centered in the rectangle at (100, 100)?", "Yes", "No", kOptionRight)) { return kTestFailed; } @@ -654,7 +654,7 @@ TestExitStatus GFXtests::copyRectToScreen() { Testsuite::clearScreen(); Common::String info = "Testing Blitting a Bitmap to screen.\n" - "You should expect to see a 20x40 yellow horizontal rectangle centerd at the screen."; + "You should expect to see a 20x40 yellow horizontal rectangle centered at the screen."; if (Testsuite::handleInteractiveInput(info, "OK", "Skip", kOptionRight)) { Testsuite::logPrintf("Info! Skipping test : Blitting Bitmap\n"); @@ -1113,7 +1113,7 @@ TestExitStatus GFXtests::pixelFormats() { Graphics::Surface *screen = g_system->lockScreen(); - // Draw 6 rectangles centerd at (50, 160), piled over one another + // Draw 6 rectangles centered at (50, 160), piled over one another // each with color in colors[] for (int i = 0; i < 6; i++) { screen->fillRect(Common::Rect::center(160, 20 + i * 10, 100, 10), colors[i]); |