Skip to content

Commit

Permalink
small correction
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakseis committed Mar 8, 2024
1 parent 756382a commit f960408
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Dlls/Dlls.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<RootNamespace>Dlls</RootNamespace>
<AssemblyName>Dlls</AssemblyName>
<FileAlignment>512</FileAlignment>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion video/subtitles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ std::string fromAss(const char* ass) {
}
}
ret++;
int p = strcspn(b.c_str(), "\r\n");
const auto p = strcspn(b.c_str(), "\r\n");
if (p == b.size()) //not found
return ret;

Expand Down

0 comments on commit f960408

Please sign in to comment.