[Scummvm-git-logs] scummvm master -> 42710e6e78cf2a3d6e610bc5d2d2a04f606f263e

bluegr noreply at scummvm.org
Fri Aug 2 14:13:15 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
42710e6e78 JANITORIAL: DIRECTOR: Fix typos in comments


Commit: 42710e6e78cf2a3d6e610bc5d2d2a04f606f263e
    https://github.com/scummvm/scummvm/commit/42710e6e78cf2a3d6e610bc5d2d2a04f606f263e
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-08-02T17:13:10+03:00

Commit Message:
JANITORIAL: DIRECTOR: Fix typos in comments

Changed paths:
    engines/director/channel.cpp
    engines/director/detection_tables.h
    engines/director/images.cpp
    engines/director/lingo/lingo-gr.cpp
    engines/director/lingo/xlibs/movemousejp.cpp
    engines/director/lingo/xlibs/popupmenuxobj.cpp
    engines/director/resource.cpp


diff --git a/engines/director/channel.cpp b/engines/director/channel.cpp
index f37f2c9e90f..15211e16b80 100644
--- a/engines/director/channel.cpp
+++ b/engines/director/channel.cpp
@@ -520,7 +520,7 @@ void Channel::setEditable(bool editable) {
 }
 
 // we may optimize this by only update those attributes when we are changing them
-// but not to pass them to widgets everytime
+// but not to pass them to widgets every time
 void Channel::updateGlobalAttr() {
 	if (!_sprite->_cast)
 		return;
diff --git a/engines/director/detection_tables.h b/engines/director/detection_tables.h
index b9b0c128b2e..74a4205d0d1 100644
--- a/engines/director/detection_tables.h
+++ b/engines/director/detection_tables.h
@@ -718,7 +718,7 @@ static const PlainGameDescriptor directorGames[] = {
 	{ "secretwriters",		"Secret Writer's Society" },
 
 	// Shareware and freeware
-	{ "101pet",				"Dalmation Adoption" },
+	{ "101pet",				"Dalmatian Adoption" },
 	{ "50ftchicken",		"Attack of the 50-foot Chicken" },
 	{ "alanna",				"The Lost Island of Alanna" },
 	{ "antfarm",			"Ant Farm" },
diff --git a/engines/director/images.cpp b/engines/director/images.cpp
index e45e61d3aad..da7e96e16b2 100644
--- a/engines/director/images.cpp
+++ b/engines/director/images.cpp
@@ -112,7 +112,7 @@ bool DIBDecoder::loadStream(Common::SeekableReadStream &stream) {
 		}
 	}
 
-	// For some reason, DIB cast members have the palette indexes reversed
+	// For some reason, DIB cast members have the palette indices reversed
 	if (_bitsPerPixel == 8) {
 		for (int y = 0; y < _surface->h; y++) {
 			for (int x = 0; x < _surface->w; x++) {
diff --git a/engines/director/lingo/lingo-gr.cpp b/engines/director/lingo/lingo-gr.cpp
index 900fa9c2490..be28814fd0a 100644
--- a/engines/director/lingo/lingo-gr.cpp
+++ b/engines/director/lingo/lingo-gr.cpp
@@ -2257,7 +2257,7 @@ yypcontext_expected_tokens (const yypcontext_t *yyctx,
   int yyn = yypact[+*yyctx->yyssp];
   if (!yypact_value_is_default (yyn))
     {
-      /* Start YYX at -YYN if negative to avoid negative indexes in
+      /* Start YYX at -YYN if negative to avoid negative indices in
          YYCHECK.  In other words, skip the first -YYN actions for
          this state because they are default actions.  */
       int yyxbegin = yyn < 0 ? -yyn : 0;
diff --git a/engines/director/lingo/xlibs/movemousejp.cpp b/engines/director/lingo/xlibs/movemousejp.cpp
index d178333dad1..f4dfb47ce87 100644
--- a/engines/director/lingo/xlibs/movemousejp.cpp
+++ b/engines/director/lingo/xlibs/movemousejp.cpp
@@ -35,7 +35,7 @@
  **************************************************/
 
 /*
--- MoveMouse . Implimented by @Sakai Youichi
+-- MoveMouse . Implemented by @Sakai Youichi
 --MoveMouse
 I      mNew                --Creates a new instance of the XObject
 X      mDispose            --Disposes of XObject instance
diff --git a/engines/director/lingo/xlibs/popupmenuxobj.cpp b/engines/director/lingo/xlibs/popupmenuxobj.cpp
index 7ab4bcfb7dd..4020bf82fab 100644
--- a/engines/director/lingo/xlibs/popupmenuxobj.cpp
+++ b/engines/director/lingo/xlibs/popupmenuxobj.cpp
@@ -46,7 +46,7 @@
  * --      to build the menu list for a PopUp menu.
  * --
  * --      - a menulist can be a continuous string
- * --          with items seperated by semicolons.
+ * --          with items separated by semicolons.
  * --          example: "item1;item2;item3"
  * --
  * --      - a menulist can be a set of strings, each
diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp
index 0880c53b90a..574d1be3cbb 100644
--- a/engines/director/resource.cpp
+++ b/engines/director/resource.cpp
@@ -662,7 +662,7 @@ bool ProjectorArchive::loadArchive(Common::SeekableReadStream *stream) {
 	tag = stream->readUint32BE();
 	found = false;
 
-	// This loop has neglible performance impact due to the stream being buffered.
+	// This loop has negligible performance impact due to the stream being buffered.
 	// Furthermore, comparing 4 bytes at a time should be pretty fast on modern systems.
 	while (!stream->eos()) {
 		if (tag == MKTAG('D', 'i', 'c', 't') || tag == MKTAG('t', 'c', 'i', 'D')) {




More information about the Scummvm-git-logs mailing list