Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
Signed-off-by: soonsouth <[email protected]>
  • Loading branch information
soonsouth authored and evilpie committed Mar 15, 2024
1 parent fc8f4ef commit abf7d3f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/src/avm1/object_reference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct MovieClipReferenceData<'gc> {
path: MovieClipPath<'gc>,

/// A weak reference to the target stage object that `path` points to
/// This is used for fast-path resvoling when possible, as well as for re-generating `path` (in the case the the target object is renamed)
/// This is used for fast-path resvoling when possible, as well as for re-generating `path` (in the case the target object is renamed)
/// If this is `None` then we have previously missed the cache, due to the target object being removed and re-created, causing us to fallback to the slow path resolution
cached_stage_object: Lock<Option<GcWeakCell<'gc, StageObjectData<'gc>>>>,
}
Expand Down
2 changes: 1 addition & 1 deletion core/src/avm2/namespace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl<'gc> Namespace<'gc> {
{
api_version = ApiVersion::VM_INTERNAL;
}
// In avmplus, this conversion is done later in in 'getValidApiVersion'
// In avmplus, this conversion is done later in 'getValidApiVersion'
// However, there's no reason to hold on to invalid API versions for the
// current active series (player runtime), so let's just do the conversion immediately.
api_version =
Expand Down
2 changes: 1 addition & 1 deletion core/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,7 @@ impl<'gc> Loader<'gc> {
if url.scheme() == "file" {
Loader::load_error_swf(mc, uc, url.to_string());
} else {
// Replacing the movie sets total_frames and and frames_loaded correctly.
// Replacing the movie sets total_frames and frames_loaded correctly.
// The movie just needs to be the default empty movie with the correct URL.
// In this loading state, the URL is the URL of the parent movie / doesn't change.

Expand Down
2 changes: 1 addition & 1 deletion swf/src/types/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl Color {
/// The byte-ordering of the 32-bit `rgb` value is XXRRGGBB.
/// The most significant byte, represented by XX, is ignored;
/// the `alpha` value is provided separately.
/// This is followed by the the red (RR), green (GG), and blue (BB) components values,
/// This is followed by the red (RR), green (GG), and blue (BB) components values,
/// respectively.
///
/// # Examples
Expand Down
2 changes: 1 addition & 1 deletion video/software/src/decoder/vp6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl VideoDecoder for Vp6Decoder {
let v = &yuv[offsets.2..offsets.2 + chroma_width * chroma_height];

// Cropping the encoded frame (containing whole macroblocks) to the
// size requested by the the bounds attribute.
// size requested by the bounds attribute.

let &bounds = &self.bounds;

Expand Down

0 comments on commit abf7d3f

Please sign in to comment.